Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
60 lines (57 loc) · 1.93 KB
/
Copy pathCargo.toml
File metadata and controls
60 lines (57 loc) · 1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[package]
name = "openmls_rust_crypto"
authors = ["OpenMLS Authors"]
version = "0.6.0"
edition = "2021"
rust-version.workspace = true
description = "A crypto backend for OpenMLS implementing openmls_traits using RustCrypto primitives."
license = "MIT"
documentation = "https://docs.rs/openmls_rust_crypto"
repository = "https://github.com/openmls/openmls/tree/main/openmls_rust_crypto"
readme = "README.md"
[dependencies]
openmls_traits = { workspace = true }
openmls_memory_storage = { workspace = true }
hpke = { version = "0.8", package = "hpke-rs", default-features = false, features = [
"hazmat",
"serialization",
] }
# Rust Crypto dependencies
sha2 = { version = "0.11" }
aes-gcm = { version = "0.11" }
chacha20poly1305 = { version = "0.11" }
hmac = { version = "0.13" }
ed25519-dalek = { version = "3.0", features = ["rand_core"] }
rand_core = { version = "0.10" }
getrandom = { version = "0.4", features = ["sys_rng"] }
p256 = { version = "0.14" }
p384 = { version = "0.14" }
hkdf = { version = "0.13" }
rand_chacha = { version = "0.10" }
hpke-rs-crypto = { version = "0.8" }
hpke-rs-rust-crypto = { version = "0.8" }
tls_codec = { workspace = true }
ml-dsa = { version = "0.1.0", optional = true }
thiserror = { workspace = true }
# FF1-AES128 backing for the virtual-clients-draft reuse-guard PRP.
fpe = { version = "0.7", optional = true }
aes = { version = "0.9", optional = true }
[features]
test-utils = ["openmls_memory_storage/test-utils"]
extensions-draft = [
"openmls_traits/extensions-draft",
"openmls_memory_storage/extensions-draft",
]
targeted-messages-draft = ["openmls_traits/targeted-messages-draft"]
draft-ietf-mls-pq-ciphersuites = [
"openmls_traits/draft-ietf-mls-pq-ciphersuites",
"dep:ml-dsa",
# X-Wing and ML-KEM backing for the PQ KEMs.
"hpke-rs-rust-crypto/experimental",
]
virtual-clients-draft = [
"openmls_traits/virtual-clients-draft",
"openmls_memory_storage/virtual-clients-draft",
"dep:fpe",
"dep:aes",
]