Cargo Features
[dependencies]
binstalk-downloader = { version = "0.13.5", default-features = false, features = ["static", "pkg-config", "zlib-ng", "rustls", "native-tls", "hickory-dns", "trust-dns", "http3", "zstd-thin", "cross-lang-fat-lto", "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 xz2, vendored of optional native-tls and static of bzip2
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 = native-tls-crate
-
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
-
HTTP3 is temporarily disabled by reqwest.
Experimental HTTP/3 client, this would require
--cfg reqwest_unstable
to be passed torustc
. - zstd-thin
- cross-lang-fat-lto
- json = 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.
- serde json?
- serde_json json?
- hickory-resolver hickory-dns?
- once_cell hickory-dns?
- default-net win hickory-dns?
- ipconfig win hickory-dns?
- native-tls-crate not wasm32 native-tls?
-
Enables native-tls