Cargo Features

[dependencies]
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, winter-math, and winter-utils and std of blake3

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

Required by the binary

serde

Enables serde of winter-math and alloc of serde

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.