Cargo Features

[dependencies]
jitsi-meet-signalling = { version = "0.1.3", default-features = false, features = ["tls-insecure", "tls-native", "tls-native-vendored", "tls-rustls-native-roots", "tls-rustls-webpki-roots"] }
default = tls-rustls-webpki-roots

Ideally we would enable rustls/dangerous_configuration only when tls-insecure is enabled, but until weak-dep-features is stabilised, that would cause rustls to always be pulled in.

tls-insecure
tls-native = native-tls

Enables native-tls of tokio-tungstenite ^0.17

tls-native-vendored

Enables vendored of native-tls, native-tls-vendored of tokio-tungstenite ^0.17

tls-rustls-native-roots = rustls, rustls-native-certs

Enables dangerous_configuration of rustls ^0.20, rustls-tls-native-roots of tokio-tungstenite ^0.17

tls-rustls-webpki-roots default = rustls, webpki-roots

Enables dangerous_configuration of rustls ^0.20, rustls-tls-webpki-roots of tokio-tungstenite ^0.17

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? tls-native-vendored?
rustls tls-rustls-native-roots? tls-rustls-webpki-roots

Enables rustls ^0.20

rustls-native-certs tls-rustls-native-roots?

Enables rustls-native-certs ^0.6

webpki-roots tls-rustls-webpki-roots

Enables webpki-roots ^0.22