Cargo Features

[dependencies]
diem-framework-crypto = { version = "0.3.2", 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 whenever diem-framework-crypto is added without default-features = false somewhere in the dependency tree.

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.

proptest-derive fuzzing?

Enables proptest-derive ^0.3.0

proptest fuzzing?