Cargo Features
[dependencies]
nazgul = { version = "2.1.0", default-features = false, features = ["no_std", "std", "serde-derive"] }
- default = serde-derive, std
-
These default features are set whenever
nazgul
is added without
somewhere in the dependency tree.default-features = false - no_std
-
Enables alloc, digest, rand_core and zeroize of curve25519-dalek, alloc of digest and rand_core ^0.6.4
- std default
-
Enables std of blake2, alloc, digest, precomputed-tables, rand_core and zeroize of curve25519-dalek and std of digest, rand_core ^0.6.4, rand ^0.8, sha2, and sha3
rand:
Option (enabled by default): without "std" rand uses libcore; this option enables functionality expected to be available on a standard platform.
- serde-derive default = serde
-
Enables serde of curve25519-dalek
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.