Cargo Features
[dependencies]
wstt = { version = "0.11.2", default-features = false, features = ["tls", "tls-vendored", "deflate"] }
- default = tls
-
The
tls
feature is set by default wheneverwstt
is added without
somewhere in the dependency tree.default-features = false - tls default = native-tls
-
Affects
error::tls
… - tls-vendored = native-tls
-
Enables vendored of native-tls
- deflate = flate2
-
Affects
extensions::deflate
…
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.