arnaucube
arnaucube/miden-cryptoPublic Self-hosted repository
miden-crypto/Cargo.toml
Cargo.tomlRaw
 1[package]
 2name = "miden-crypto"
 3version = "0.14.0"
 4description = "Miden Cryptographic primitives"
 5authors = ["miden contributors"]
 6readme = "README.md"
 7license = "MIT"
 8repository = "https://github.com/0xPolygonMiden/crypto"
 9documentation = "https://docs.rs/miden-crypto/0.14.0"
10categories = ["cryptography", "no-std"]
11keywords = ["miden", "crypto", "hash", "merkle"]
12edition = "2021"
13rust-version = "1.82"
14
15[[bin]]
16name = "miden-crypto"
17path = "src/main.rs"
18bench = false
19doctest = false
20required-features = ["executable"]
21
22[[bench]]
23name = "dsa"
24harness = false
25
26[[bench]]
27name = "hash"
28harness = false
29
30[[bench]]
31name = "smt"
32harness = false
33
34[[bench]]
35name = "smt-subtree"
36harness = false
37required-features = ["internal"]
38
39[[bench]]
40name = "merkle"
41harness = false
42
43[[bench]]
44name = "smt-with-entries"
45harness = false
46
47[[bench]]
48name = "store"
49harness = false
50
51[features]
52concurrent = ["dep:rayon"]
53default = ["std", "concurrent"]
54executable = ["dep:clap", "dep:rand-utils", "std"]
55internal = []
56serde = ["dep:serde", "serde?/alloc", "winter-math/serde"]
57std = [
58    "blake3/std",
59    "dep:cc",
60    "rand/std",
61    "rand/std_rng",
62    "winter-crypto/std",
63    "winter-math/std",
64    "winter-utils/std",
65]
66
67[dependencies]
68blake3 = { version = "1.5", default-features = false }
69clap = { version = "4.5", optional = true, features = ["derive"] }
70getrandom = { version = "0.2", features = ["js"] }
71num = { version = "0.4", default-features = false, features = ["alloc", "libm"] }
72num-complex = { version = "0.4", default-features = false }
73rand = { version = "0.8", default-features = false }
74rand_chacha = { version = "0.3", default-features = false }
75rand_core = { version = "0.6", default-features = false }
76rand-utils = {git = 'https://github.com/Al-Kindi-0/winterfell', package = "winter-rand-utils" , branch = 'al-zk', optional = true }
77rayon = { version = "1.10", optional = true }
78serde = { version = "1.0", default-features = false, optional = true, features = ["derive"] }
79sha3 = { version = "0.10", default-features = false }
80thiserror = { version = "2.0", default-features = false }
81winter-air = {git = 'https://github.com/Al-Kindi-0/winterfell', branch = 'al-zk' }
82winter-crypto = {git = 'https://github.com/Al-Kindi-0/winterfell', branch = 'al-zk' }
83winter-prover = {git = 'https://github.com/Al-Kindi-0/winterfell', branch = 'al-zk' }
84winter-verifier = {git = 'https://github.com/Al-Kindi-0/winterfell', branch = 'al-zk' }
85winter-math = {git = 'https://github.com/Al-Kindi-0/winterfell', branch = 'al-zk' }
86winter-utils = {git = 'https://github.com/Al-Kindi-0/winterfell', branch = 'al-zk' }
87
88[dev-dependencies]
89assert_matches = { version = "1.5", default-features = false }
90criterion = { version = "0.5", features = ["html_reports"] }
91hex = { version = "0.4", default-features = false, features = ["alloc"] }
92proptest = "1.5"
93rand-utils = {git = 'https://github.com/Al-Kindi-0/winterfell', package = "winter-rand-utils" , branch = 'al-zk' }
94seq-macro = { version = "0.3" }
95
96[build-dependencies]
97cc = { version = "1.2", optional = true, features = ["parallel"] }
98glob = "0.3"