Cargo Features
[dependencies]
elastic-elgamal = { version = "0.3.1", default-features = false, features = ["std", "serde", "hashbrown", "curve25519-dalek-ng", "curve25519-dalek"] }
- default = curve25519-dalek, std
-
These default features are set whenever
elastic-elgamal
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables support of types from
std
, such as theError
trait.
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.
- serde implicit feature
-
Enables serde
Enables
Serialize
/Deserialize
implementation for most types in the crate. - hashbrown implicit feature
-
Enables hashbrown
hashbrown:
A Rust port of Google's SwissTable hash map
- curve25519-dalek-ng implicit feature
-
Enables curve25519-dalek-ng
curve25519-dalek-ng:
A pure-Rust implementation of group operations on ristretto255 and Curve25519
- curve25519-dalek default