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 whenever tokio-xmpp is added without default-features = false somewhere in the dependency tree.

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.

native-tls tls-native
tokio-native-tls tls-native
tokio-rustls tls-rust?

Enables tokio-rustls ^0.24

webpki-roots tls-rust?

Enables webpki-roots ^0.25

syntect syntax-highlighting?