Cargo Features

[dependencies]
tokio-xmpp = { version = "4.0.0", default-features = false, features = ["starttls", "tls-rust", "tls-native", "starttls-native", "starttls-rust", "insecure-tcp", "syntax-highlighting", "serde"] }
default = starttls-rust

The starttls-rust feature is set by default whenever tokio-xmpp is added without default-features = false somewhere in the dependency tree.

starttls starttls-native? starttls-rust = hickory-resolver, idna

Affects tokio-xmpp::starttls

tls-rust starttls-rust = tokio-rustls, webpki-roots
tls-native starttls-native? = native-tls, tokio-native-tls
starttls-native = starttls, tls-native
starttls-rust default = starttls, tls-rust
insecure-tcp

Affects tokio-xmpp::tcp

syntax-highlighting = syntect
serde

Enable serde support in jid crate

Enables serde of xmpp-parsers

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.

webpki-roots tls-rust?
syntect syntax-highlighting?
hickory-resolver starttls?

Enables hickory-resolver

these are only needed for starttls ServerConnector support

idna starttls?
native-tls tls-native?
tokio-native-tls tls-native?
tokio-rustls tls-rust?