Cargo Features
[dependencies]
curve25519-dalek-v2 = { version = "4.1.3", default-features = false, features = ["alloc", "precomputed-tables", "legacy_compatibility", "group", "group-bits", "digest", "serde", "zeroize"] }
- default = alloc, precomputed-tables, zeroize
-
These default features are set whenever
curve25519-dalek-v2
is added without
somewhere in the dependency tree.default-features = false - alloc default
-
Enables alloc of optional zeroize
Affects
backend::pippenger_optional_multiscalar_mul
,backend::straus_multiscalar_mul
,backend::straus_optional_multiscalar_mul
,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
… - legacy_compatibility
- group group-bits? = rand_core
-
Enables group
Affects
edwards::SubgroupPoint
… - group-bits = group
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.