Cargo Features

[dependencies]
mls-rs-crypto-rustcrypto = { version = "0.10.0", default-features = false, features = ["std", "x509", "browser"] }
default = std, x509

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

std default x509

Enables thiserror and std of sha2

Hash

and std of p256, rand_core, and sec1

p256:

KEM

and std of aead, getrandom, hkdf, hmac, mls-rs-core, mls-rs-crypto-hpke, and mls-rs-crypto-traits

getrandom:

Random

x509 default = const-oid, mls-rs-identity-x509, spki, std, x509-cert

Enables x509 of mls-rs-core

Affects mls-rs-crypto-rustcrypto::x509

browser

Enables js of getrandom

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.

mls-rs-identity-x509 x509

Enables mls-rs-identity-x509

X509 feature

x509-cert x509
spki x509
const-oid x509