Cargo Features
[dependencies]
xmpp = { version = "0.6.0", default-features = false, features = ["starttls-native", "starttls-rust", "avatars", "syntax-highlighting", "serde"] }
- default = avatars, starttls-rust
-
These default features are set whenever
xmpp
is added without
somewhere in the dependency tree.default-features = false - starttls-native
-
Enables native-tls of reqwest
reqwest:
Enables native-tls specific functionality not available by default.
and starttls and tls-native of tokio-xmpp
same repository dependencies
- starttls-rust default
-
Enables rustls-tls of reqwest, starttls and tls-rust of tokio-xmpp
- avatars default
- syntax-highlighting
-
Enables syntax-highlighting of tokio-xmpp
- serde
-
Enable serde support in jid crate
Enables serde of tokio-xmpp