Cargo Features

[dependencies]
tls_codec = { version = "0.4.2-pre.1", default-features = false, features = ["derive", "serde", "arbitrary", "mls", "std", "conditional_deserialization"] }
default = std

The std feature is set by default whenever tls_codec is added without default-features = false somewhere in the dependency tree.

derive conditional_deserialization? = tls_codec_derive
serde = std

Enables serde

arbitrary = std

Enables arbitrary

optional dependencies

mls

In MLS variable length vectors are limited compared to QUIC.

std default arbitrary? serde?

Enables std of optional tls_codec_derive

Affects tls_codec::Serialize.tls_serialize, tls_codec::Serialize.tls_serialize_detached, tls_codec::Deserialize.tls_deserialize, tls_codec::Deserialize.tls_deserialize_exact, quic_vec::rw

conditional_deserialization = derive

Enables conditional_deserialization of tls_codec_derive

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.

tls_codec_derive conditional_deserialization? derive?