# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.82" name = "miden-crypto" version = "0.13.0" authors = ["miden contributors"] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Miden Cryptographic primitives" documentation = "https://docs.rs/miden-crypto/0.13.0" readme = "README.md" keywords = [ "miden", "crypto", "hash", "merkle", ] categories = [ "cryptography", "no-std", ] license = "MIT" repository = "https://github.com/0xPolygonMiden/crypto" [lib] name = "miden_crypto" path = "src/lib.rs" [[bin]] name = "miden-crypto" path = "src/main.rs" doctest = false bench = false required-features = ["executable"] [[bench]] name = "hash" path = "benches/hash.rs" harness = false [[bench]] name = "smt" path = "benches/smt.rs" harness = false [[bench]] name = "store" path = "benches/store.rs" harness = false [dependencies.blake3] version = "1.5" default-features = false [dependencies.clap] version = "4.5" features = ["derive"] optional = true [dependencies.num] version = "0.4" features = [ "alloc", "libm", ] default-features = false [dependencies.num-complex] version = "0.4" default-features = false [dependencies.rand] version = "0.8" default-features = false [dependencies.rand-utils] version = "0.11" optional = true package = "winter-rand-utils" [dependencies.rand_core] version = "0.6" default-features = false [dependencies.serde] version = "1.0" features = ["derive"] optional = true default-features = false [dependencies.sha3] version = "0.10" default-features = false [dependencies.thiserror] version = "2.0" default-features = false [dependencies.winter-crypto] version = "0.11" default-features = false [dependencies.winter-math] version = "0.11" default-features = false [dependencies.winter-utils] version = "0.11" default-features = false [dev-dependencies.assert_matches] version = "1.5" default-features = false [dev-dependencies.criterion] version = "0.5" features = ["html_reports"] [dev-dependencies.getrandom] version = "0.2" features = ["js"] [dev-dependencies.hex] version = "0.4" features = ["alloc"] default-features = false [dev-dependencies.proptest] version = "1.5" [dev-dependencies.rand-utils] version = "0.11" package = "winter-rand-utils" [dev-dependencies.rand_chacha] version = "0.3" default-features = false [dev-dependencies.seq-macro] version = "0.3" [build-dependencies.cc] version = "1.2" features = ["parallel"] optional = true [build-dependencies.glob] version = "0.3" [features] default = ["std"] executable = [ "dep:clap", "dep:rand-utils", "std", ] serde = [ "dep:serde", "serde?/alloc", "winter-math/serde", ] std = [ "blake3/std", "dep:cc", "rand/std", "rand/std_rng", "winter-crypto/std", "winter-math/std", "winter-utils/std", ]