Cargo Features
[dependencies]
movine = { version = "0.11.4", default-features = false, features = ["with-native-tls", "with-rustls"] }
- default = with-native-tls
-
The
with-native-tls
feature is set by default whenevermovine
is added without
somewhere in the dependency tree.default-features = false - with-native-tls default = native-tls, postgres-native-tls
- with-rustls = rustls, tokio-postgres-rustls
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.