Cargo Features
[dependencies]
clatter = { version = "1.1.0", default-features = false, features = ["std", "alloc", "use-sha", "use-blake2", "use-aes-gcm", "use-chacha20poly1305", "use-pqclean-kyber", "use-rust-crypto-ml-kem", "use-25519"] }
- default = use-25519, use-aes-gcm, use-blake2, use-chacha20poly1305, use-pqclean-kyber, use-rust-crypto-ml-kem, use-sha
-
These default features are set whenever
clatter
is added without
somewhere in the dependency tree.default-features = false - std = alloc
-
Enables std of aes-gcm, blake2, chacha20poly1305, ml-kem, sha2, and zeroize
aes-gcm:
Optional
- alloc std?
-
Affects
bytearray::HeapArray
… - use-sha default = sha2
-
Affects
crypto_impl::sha
… - use-blake2 default = blake2
-
Affects
crypto_impl::blake2
… - use-aes-gcm default = aes-gcm
-
Affects
crypto_impl::aes
… - use-chacha20poly1305 default = chacha20poly1305
-
Affects
crypto_impl::chacha
… - use-pqclean-kyber default = pqcrypto-kyber, pqcrypto-traits
-
Affects
crypto_impl::pqclean_kyber
… - use-rust-crypto-ml-kem default = ml-kem
-
Affects
crypto_impl::rust_crypto_ml_kem
… - use-25519 default = x25519-dalek
-
Affects
crypto_impl::x25519
…
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.