Cargo Features

codec_sv2 has no features set by default.

[dependencies]
codec_sv2 = { version = "1.2.1", features = ["no_std", "with_serde", "with_buffer_pool", "noise_sv2"] }
no_std
with_serde = serde

Enables with_serde of binary_sv2, buffer_sv2, and framing_sv2

with_buffer_pool

Enables with_buffer_pool of framing_sv2

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.

serde with_serde?
noise_sv2 implicit feature

Enables noise_sv2

noise_sv2:

Sv2 noise

Affects decoder::StandardNoiseDecoder, decoder::WithNoise, encoder::NoiseEncoder, codec_sv2::State, codec_sv2::HandshakeRole