Cargo Features
[dependencies]
rust-htslib = { version = "0.48.0", default-features = false, features = ["bindgen", "bzip2", "curl", "gcs", "libdeflate", "lzma", "s3", "serde_feature", "static"] }
- default = bzip2, curl, lzma
-
These default features are set whenever
rust-htslib
is added without
somewhere in the dependency tree.default-features = false - bindgen
-
Enables hts-sys
- bzip2 default
- curl default
- gcs
-
hts-sys:
Google Cloud Storage support
- libdeflate
-
Enables libdeflate of hts-sys
- lzma default
- s3
-
hts-sys:
Amazon S3 support
- serde_feature = serde, serde_bytes
-
Affects
bam::record_serde
… - static
-
hts-sys:
Don't dynamically link to other libraries
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.