Cargo Features
[dependencies]
ws-tool = { version = "0.11.0", default-features = false, features = ["sync", "sync_tls_rustls", "sync_tls_native", "async", "async_tls_rustls", "async_tls_native", "deflate", "deflate_static", "deflate_ng", "poem", "axum", "simple"] }
proxy deps
- default = simple, sync, sync_tls_rustls
-
These default features are set whenever
ws-tool
is added without
somewhere in the dependency tree.default-features = false - sync default sync_tls_native? sync_tls_rustls
- sync_tls_rustls default = rustls-connector, rustls-pemfile, sync
- sync_tls_native = native-tls, sync
- async async_tls_native? async_tls_rustls? axum? poem? = tokio
- async_tls_rustls = async, rustls-connector, rustls-pemfile, tokio-rustls, webpki, webpki-roots
- async_tls_native = async, tokio-native-tls
- deflate simple = libz-sys
- deflate_static
-
deflate deps
- deflate_ng
- poem = async
-
Enables poem ^2
extsion deps
Affects
extension::poem_ext
… - axum = async
-
Enables axum, hyper, and hyper-util
Affects
extension::axum_ext
… - simple default = deflate
-
Affects
ws-tool::simple
…
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.
profile.release debug = true strip = false opt-level = 3 lto = true
See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
- tokio async?
- tokio-rustls async_tls_rustls?
-
Enables tokio-rustls ^0.23
tls deps
- tokio-native-tls async_tls_native?
- rustls-pemfile async_tls_rustls? sync_tls_rustls
-
Enables rustls-pemfile ^1.0.1
- webpki async_tls_rustls?
- webpki-roots async_tls_rustls?
-
Enables webpki-roots ^0.22.5
- rustls-connector async_tls_rustls? sync_tls_rustls
-
Enables rustls-connector ^0.16
- native-tls sync_tls_native?
- libz-sys deflate? deflate_ng? deflate_static?