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