Cargo Features
[dependencies]
diem-crypto = { version = "0.0.3", default-features = false, features = ["assert-private-keys-not-cloneable", "cloneable-private-keys", "fiat", "u64", "u32", "fuzzing"] }
- default = fiat
-
The
fiat
feature is set by default wheneverdiem-crypto
is added without
somewhere in the dependency tree.default-features = false - assert-private-keys-not-cloneable
- cloneable-private-keys fuzzing?
- fiat default
-
Enables fiat_u64_backend of curve25519-dalek-fiat, ed25519-dalek-fiat, and x25519-dalek-fiat
curve25519-dalek-fiat:
The fiat-u64 backend uses u64s with u128 products.
- u64
-
Enables u64_backend of curve25519-dalek-fiat, ed25519-dalek-fiat, and x25519-dalek-fiat
curve25519-dalek-fiat:
The u64 backend uses u64s with u128 products.
- u32
-
Enables u32_backend of curve25519-dalek-fiat, ed25519-dalek-fiat, and x25519-dalek-fiat
curve25519-dalek-fiat:
The u32 backend uses u32s with u64 products.
- fuzzing = cloneable-private-keys, proptest, proptest-derive
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.