Cargo Features
[dependencies]
akd_core = { version = "0.12.0-pre.10", default-features = false, features = ["nostd", "whatsapp_v1", "experimental", "vrf", "serde_serialization", "parallel_vrf", "public_tests", "protobuf", "bench", "rand"] }
- nostd
-
Disable all STD for the crate
- whatsapp_v1
-
Supported configurations
Enables blake3
Optional dependencies
- experimental default bench?
-
Enables blake3
- vrf default bench? = curve25519-dalek, ed25519-dalek
-
Include the VRF verification logic
- serde_serialization
-
Enables serde and serde_bytes, serde of ed25519-dalek
Affects
utils::serde_helpers
… - parallel_vrf bench? = tokio
-
Parallelize VRF calculations during publish
- public_tests
-
Enables paste
Affects
traits::NamedConfiguration
,base::verify_membership_for_tests_only
,base::verify_nonmembership_for_tests_only
… - protobuf
-
Enables protobuf
Affects
akd_core::proto
… - bench = experimental, parallel_vrf, vrf
-
Enables rt-multi-thread of tokio
- default = experimental, vrf
-
Default features mix
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.
- curve25519-dalek vrf
- ed25519-dalek serde_serialization? vrf
- rand implicit feature
-
Enables rand
rand:
Random number generators and other randomness functionality
- tokio bench? parallel_vrf?