Cargo Features
[dependencies]
miden-crypto = { version = "0.12.0", default-features = false, features = ["std", "executable", "serde"] }
- default = std
-
The
std
feature is set by default whenevermiden-crypto
is added without
somewhere in the dependency tree.default-features = false - 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.