Cargo Features

[dependencies]
miden-crypto = { version = "0.14.0", default-features = false, features = ["std", "concurrent", "executable", "smt_hashmaps", "internal", "serde"] }
default = concurrent, std

These default features are set whenever miden-crypto is added without default-features = false somewhere in the dependency tree.

std default executable?

Enables cc, std and thread_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".

concurrent default

Enables rayon, rayon of optional hashbrown

executable = std

Enables clap and winter-rand-utils

Required by the binary

smt_hashmaps

Enables hashbrown

internal

Affects concurrent::build_subtree_for_bench

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.