Cargo Features

OpenMLS has no features set by default.

[dependencies]
openmls = { version = "0.6.0", features = ["crypto-subtle", "backtrace", "libcrux-provider", "test-utils", "crypto-debug", "content-debug", "js"] }
crypto-subtle

Enable subtle crypto APIs that have to be used with care.

backtrace test-utils?

Enables backtrace

libcrux-provider

Enables openmls_libcrux_crypto and libcrux-provider of optional openmls_test

openmls_test:

This needs to be enabled explicity to allow disabling on some platforms

Affects test_utils::OpenMlsLibcrux

test-utils = backtrace

Enables test-utils of openmls_rust_crypto and itertools ^0.10, once_cell, openmls_basic_credential, and openmls_memory_storage

itertools:

Crypto providers required for KAT and testing - "test-utils" feature

and openmls_test, rand, serde_json, and wasm-bindgen-test

rand:

Only required for tests.

Affects encryption_keys::test_utils

crypto-debug

☣️ Enable logging of sensitive cryptographic information

content-debug

☣️ Enable logging of sensitive message content

js

enable js randomness source for provider

Enables fluvio-wasm-timer and 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.

openmls_rust_crypto test-utils?