Daniel-Liu-c0deb0t / block-aligner

SIMD-accelerated library for computing global and X-drop affine gap penalty sequence-to-sequence or sequence-to-profile alignments using an adaptive block-based algorithm.
https://crates.io/crates/block_aligner
MIT License
124 stars 7 forks source link

Put cbindgen dependency behind a default-enabled feature flag #22

Closed RagnarGrootKoerkamp closed 1 year ago

RagnarGrootKoerkamp commented 1 year ago

This removes a bunch of unneeded dependencies when c bindings are not needed.

Daniel-Liu-c0deb0t commented 1 year ago

Thanks! I refactored the way c bindings are handled (based on your changes in this PR) so the environment variable BLOCK_ALIGNER_C is not needed at all and cbindgen is only used when needed.