Skip to content

Could you add a feature to enable "zlib-ng" of flate2? #263

Answered by zaeleus
Crispy13 asked this question in Q&A
Discussion options

You must be logged in to vote

Rust features are additive. You can select the flate2 backend by adding it as a dependency to your application and enabling the desired feature set, i.e.,

flate2 = { version = "1.0.30", default-features = false, features = ["zlib-ng"] }

Also note that noodles-bgzf supports linking to libdeflate via the libdeflate feature. This will typically yield better performance than general-purpose DEFLATE implementations.

noodles-bgzf = { version = "0.29.0", features = ["libdeflate"] }

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Crispy13
Comment options

Answer selected by Crispy13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants