Cargo Features
ChRIS has no features set by default.
[dependencies]
chris = { version = "0.5.0-a.2", features = ["vendored-openssl", "rustls"] }
https://github.com/cross-rs/cross/issues/229#issuecomment-597898074
- default
-
These default features are set whenever
chris
is added without
somewhere in the dependency tree.default-features = false Enables dns-over-native-tls of trust-dns-resolver and default-tls of reqwest ^0.11.10
reqwest:
Note: this doesn't enable the 'native-tls' feature, which adds specific functionality for it.
- vendored-openssl
-
OpenSSL workaround, see features section
- rustls
-
Enables rustls-tls of reqwest ^0.11.10, dns-over-rustls of trust-dns-resolver
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.