Cargo Features

[dependencies]
mls-rs-core = { version = "0.19.1", default-features = false, features = ["std", "fast_serialize", "rfc_compliant", "ffi", "x509", "serde", "last_resort_key_package_ext", "arbitrary", "test_suite"] }
default = fast_serialize, rfc_compliant, std

These default features are set whenever mls-rs-core is added without default-features = false somewhere in the dependency tree.

std default arbitrary?

Enables thiserror, std of zeroize and std of mls-rs-codec, optional safer-ffi-gen, and optional serde

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

Affects test_suite::generate_tests, error::AnyError, error::IntoAnyError.into_any_error, error::IntoAnyError.into_dyn_error

fast_serialize default

Enables preallocate of mls-rs-codec

rfc_compliant default = x509
ffi

Enables safer-ffi and safer-ffi-gen

x509 rfc_compliant
serde test_suite?

Enables serde and serde_bytes, serde of hex, serde of zeroize

Affects mls-rs-core::zeroizing_serde, mls-rs-core::vec_serde

last_resort_key_package_ext
arbitrary = std

Enables arbitrary

test_suite = serde

Enables itertools ^0.12 and serde_json

Affects crypto::test_suite