Cargo Features
[dependencies]
libdns = { version = "0.1.1", default-features = false, features = ["hetzner", "default-tls", "rustls-tls", "native-tls", "native-tls-vendored"] }
- default = default-tls
-
The
default-tls
feature is set by default wheneverlibdns
is added without
somewhere in the dependency tree.default-features = false - hetzner = serde
-
Enables reqwest
Affects
libdns::hetzner
… - default-tls default
-
Enables default-tls of optional reqwest
reqwest:
Note: this doesn't enable the 'native-tls' feature, which adds specific functionality for it.
- rustls-tls
-
Enables rustls-tls of optional reqwest
- native-tls
-
Enables native-tls of optional reqwest
reqwest:
Enables native-tls specific functionality not available by default.
- native-tls-vendored
-
Enables native-tls-vendored of optional reqwest
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.