Cargo Features
[dependencies]
watermelon-net = { version = "0.1.1", default-features = false, features = ["websocket", "ring", "aws-lc-rs", "fips", "non-standard-zstd"] }
- default = aws-lc-rs
-
The
aws-lc-rs
feature is set by default wheneverwatermelon-net
is added without
somewhere in the dependency tree.default-features = false - websocket
-
Enables futures-sink, futures-util, http, and tokio-websockets
- ring
-
Enables ring of optional tokio-websockets
- aws-lc-rs default
-
Enables aws-lc-rs of optional tokio-websockets
tokio-websockets:
Alias because Cargo features commonly use
-
- fips
-
Enables fips of optional tokio-websockets
- non-standard-zstd
-
Enables non-standard-zstd of watermelon-proto
watermelon-net has 6 features without comments.