Cargo Features

[dependencies]
jarust_transport = { version = "0.3.0", default-features = false, features = ["use-native-tls", "use-rustls"] }
default = use-native-tls

The use-native-tls feature is set by default whenever jarust_transport is added without default-features = false somewhere in the dependency tree.

use-native-tls default

Enables native-tls of tokio-tungstenite ^0.21.0

use-rustls = rustls, rustls-native-certs

Enables handshake, rustls, rustls-pki-types, stream and tokio-rustls of tokio-tungstenite ^0.21.0

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.

rustls not wasm use-rustls?

Enables rustls ^0.22.2

rustls-native-certs not wasm use-rustls?