Project import generated by Copybara. GitOrigin-RevId: 06b0c815d958bef0a60978d0766d65af839e37b6 Change-Id: Ifac0c45ae509ca8a8ed793fac5c981d4e23d3bf9
diff --git a/nearby/crypto/crypto_provider_rustcrypto/Cargo.toml b/nearby/crypto/crypto_provider_rustcrypto/Cargo.toml index e0bf534..a0638ff 100644 --- a/nearby/crypto/crypto_provider_rustcrypto/Cargo.toml +++ b/nearby/crypto/crypto_provider_rustcrypto/Cargo.toml
@@ -6,15 +6,22 @@ [dependencies] aead = "0.5.1" -aes-gcm-siv = { version = "0.11.1", features = ["aes"] } -crypto_provider.workspace = true +aes-gcm-siv = { version = "0.11.1", features = [ + "aes", +], default-features = false } +aes-gcm = { version = "0.10.3", features = [ + "aes", +], default-features = false } +crypto_provider = { workspace = true } hmac.workspace = true hkdf.workspace = true sha2.workspace = true x25519-dalek.workspace = true p256 = { workspace = true, features = ["ecdh"], default-features = false } sec1.workspace = true -ed25519-dalek = { workspace = true, default-features = false, features = ["rand_core"] } +ed25519-dalek = { workspace = true, default-features = false, features = [ + "rand_core", +] } rand = { workspace = true, default-features = false } rand_core.workspace = true subtle.workspace = true @@ -31,5 +38,12 @@ [features] default = ["alloc", "rand_chacha"] -std = ["ed25519-dalek/default", "rand/std", "rand/std_rng", "crypto_provider/std", "crypto_provider/alloc"] -alloc = ["aead/bytes"] +std = [ + "alloc", + "ed25519-dalek/default", + "rand/std", + "rand/std_rng", + "crypto_provider/std", + "crypto_provider/alloc", +] +alloc = ["aead/bytes", "aead/alloc", "cbc/alloc", "crypto_provider/alloc"]