Cargo Features
[dependencies]
hts-sys = { version = "2.1.4", default-features = false, features = ["bzip2", "lzma", "curl", "libdeflate", "gcs", "s3", "static", "bindgen"] }
- default = bzip2, curl, lzma
-
These default features are set whenever
hts-sys
is added without
somewhere in the dependency tree.default-features = false - bzip2 default = bzip2-sys
- lzma default = lzma-sys
- curl default gcs? s3? = curl-sys, openssl-sys
- libdeflate = libdeflate-sys
- gcs = curl
-
Google Cloud Storage support
- s3 = curl
-
Amazon S3 support
- static
-
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.
- bzip2-sys bzip2
- lzma-sys lzma
- curl-sys curl
- libdeflate-sys libdeflate?
-
Enables libdeflate-sys ^0.7.3
- bindgen build implicit feature
-
Enables bindgen ^0.69.4
bindgen:
Automatically generates Rust FFI bindings to C and C++ libraries
- openssl-sys unix not mac curl