Skip to content

Commit 636c5ea

Browse files
features for crypto providers
1 parent 55e2f69 commit 636c5ea

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Cargo.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,19 @@ zeroize = { version = "1.5", features = ["zeroize_derive"] }
1818
hpke-rs-crypto = { version = "0.3.0-alpha.1", path = "./traits", default-features = false }
1919
rand_core = { version = "0.9", default-features = false }
2020
libcrux-sha3 = { version = "0.0.2" }
21+
hpke-rs-rust-crypto = { version = "0.3.0-alpha.1", path = "./rust_crypto_provider", optional = true }
22+
hpke-rs-libcrux = { version = "0.2.0-alpha.1", path = "./libcrux_provider", optional = true }
2123

2224
[features]
2325
default = []
2426
std = ["rand_core/std", "hpke-rs-crypto/std"]
2527
serialization = ["serde", "tls_codec", "tls_codec/serde", "std"]
2628
hazmat = []
29+
rustcrypto = ["dep:hpke-rs-rust-crypto"]
30+
libcrux = ["dep:hpke-rs-libcrux"]
31+
2732
hpke-test = ["std"]
28-
hpke-test-prng = [] # ⚠️ Enable testing PRNG - DO NOT USE
33+
hpke-test-prng = [] # ⚠️ Enable testing PRNG - DO NOT USE
2934

3035
[dev-dependencies]
3136
hpke-rs-crypto = { version = "0.3.0-alpha.1", path = "./traits", features = [

0 commit comments

Comments
 (0)