Cargo Features
[dependencies]
test-curve25519-dalek = { version = "4.0.0-rc.1", default-features = false, features = ["alloc", "precomputed-tables", "rand_core", "digest", "serde", "zeroize"] }
- default = alloc, precomputed-tables, zeroize
-
These default features are set whenever
test-curve25519-dalek
is added without
somewhere in the dependency tree.default-features = false - alloc default
-
Enables alloc of optional zeroize
Affects
scalar_mul::straus
,scalar_mul::precomputed_straus
,scalar_mul::pippenger
,scalar_mul::straus
,scalar_mul::precomputed_straus
,scalar_mul::pippenger
,edwards::VartimeEdwardsPrecomputation
,ristretto::VartimeRistrettoPrecomputation
… - precomputed-tables default
-
Affects
constants::ED25519_BASEPOINT_TABLE
,constants::ED25519_BASEPOINT_TABLE
,constants::RISTRETTO_BASEPOINT_TABLE
,ristretto::RistrettoBasepointTable
…
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.
- rand_core implicit feature
-
Enables rand_core
rand_core:
Core random number generator traits and tools for implementation
- digest implicit feature
-
Enables digest
digest:
Traits for cryptographic hash functions and message authentication codes
- serde implicit feature
-
Enables serde
serde:
A generic serialization/deserialization framework
- zeroize default