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 default-features = false somewhere in the dependency tree.

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