Cargo Features
[dependencies]
mohan = { version = "0.0.53", default-features = false, features = ["avx2_backend", "rand_os", "rand_core", "rand"] }
- default = avx2_backend, rand, rand_os
-
These default features are set whenever
mohan
is added without
somewhere in the dependency tree.default-features = false - avx2_backend default
-
Enables avx2_backend of curve25519-dalek ^2
- rand_os default
-
Affects
mohan::mohan_rand
,mohan::mohan_rand
…
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 0.5.*
rand_core:
Core random number generator traits and tools for implementation
- rand default
-
Enables rand ^0.7.3
Affects
mohan::mohan_rand
…