Cargo Features

miden-crypto = { version = "0.9.3", default-features = false, features = ["std", "executable", "serde"] }
default = std

The std feature is set by default whenever miden-crypto is added without default-features = false somewhere in the dependency tree.

std default executable?

Enables cc, std and std_rng of rand, std of winter-crypto ^0.8, winter-math ^0.8, and winter-utils ^0.8 and std of blake3


This crate uses libstd for std::io trait implementations, and also for runtime CPU feature detection. This feature is enabled by default. If you use --no-default-features, the only way to use the SIMD implementations in this
crate is to enable the corresponding instruction sets statically for the entire build, with e.g. RUSTFLAGS="-C target-cpu=native".

executable = std

Enables clap and winter-rand-utils ^0.8

Required by the binary


Enables serde of winter-math ^0.8 and alloc of serde


Provide impls for types in the Rust core allocation and collections library including String, Box<T>, Vec<T>, and Cow<T>. This is a subset of std but may be enabled without depending on all of std.