Cargo Features
[dependencies]
tokio-xmpp = { version = "3.5.0", default-features = false, features = ["tls-rust", "tls-native", "syntax-highlighting"] }
- default = tls-native
-
The
tls-native
feature is set by default whenevertokio-xmpp
is added without
somewhere in the dependency tree.default-features = false - tls-rust = tokio-rustls, webpki-roots
- tls-native default = native-tls, tokio-native-tls
- syntax-highlighting = syntect
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.