Cargo Features
[dependencies]
snowstorm = { version = "0.4.0", default-features = false, features = ["stream", "socket", "ring-accelerated", "libsodium-accelerated"] }
- default = socket, stream
-
These default features are set whenever
snowstorm
is added without
somewhere in the dependency tree.default-features = false - stream default = pin-project
-
Affects
snowstorm::stream
… - socket default = bytes, rand
-
Affects
snowstorm::socket
,snowstorm::timer
… - ring-accelerated
-
Enables ring-accelerated of snow
- libsodium-accelerated
-
Enables libsodium-accelerated of snow
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.