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 default-features = false somewhere in the dependency tree.

stream default = pin-project

Affects snowstorm::stream

socket default = bytes, rand

Enables rt and time of tokio

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.

bytes socket
pin-project stream
rand socket