Cargo Features
[dependencies]
slow5lib-sys = { version = "0.10.0+slow5lib.1.3.0", default-features = false, features = ["zstd", "zlib-ng"] }
- default = zstd
-
The
zstd
feature is set by default wheneverslow5lib-sys
is added without
somewhere in the dependency tree.default-features = false - zstd default = zstd-sys
- zlib-ng
-
libz-sys:
(Omit the libc feature if you don't require the corresponding functions.)
This allows higher-level crates depending on your library to opt into zlib-ng if desired.
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.