Cargo Features
[dependencies]
binstalk-downloader = { version = "0.10.3", default-features = false, features = ["static", "pkg-config", "zlib-ng", "rustls", "native-tls", "hickory-dns", "trust-dns", "http3", "zstd-thin", "cross-lang-fat-lto", "gh-api-client", "json"] }
- default = rustls, static
-
These default features are set whenever
binstalk-downloader
is added without
somewhere in the dependency tree.default-features = false - static default
-
Enables static of bzip2 and xz2
bzip2:
Enable this feature if you want to have a statically linked bzip2
- pkg-config
-
Enables pkg-config of zstd
zstd is also depended by zip.
Since zip 0.6.3 depends on zstd 0.11, we can use 0.12.0 here because it uses the same zstd-sys version.
Otherwise there will be a link conflict. - zlib-ng
- rustls default
-
Enables rustls-tls, rustls-tls-native-roots and rustls-tls-webpki-roots of reqwest, dns-over-h3, dns-over-https-rustls, dns-over-quic and dns-over-rustls of optional hickory-resolver
- native-tls
-
Enables dns-over-native-tls of optional hickory-resolver and native-tls of reqwest
reqwest:
Enables native-tls specific functionality not available by default.
- hickory-dns trust-dns? = default-net, hickory-resolver, ipconfig, once_cell
-
Enable hickory-resolver so that features on it will also be enabled.
- trust-dns = hickory-dns
-
Deprecated alias for hickory-dns, since trust-dns is renamed to hickory-dns
- http3
- zstd-thin
- cross-lang-fat-lto
- gh-api-client = json
-
Affects
binstalk-downloader::gh_api_client
… - json gh-api-client? = serde, serde_json
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.