forked from 0xMiden/miden-vm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
100 lines (90 loc) · 2.72 KB
/
Copy pathCargo.toml
File metadata and controls
100 lines (90 loc) · 2.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
[package]
name = "miden-vm"
version.workspace = true
description = "Miden virtual machine"
documentation = "https://docs.rs/miden-vm"
readme = "README.md"
categories = ["cryptography", "emulators", "no-std"]
keywords = ["miden", "stark", "virtual-machine", "zkp"]
license.workspace = true
authors.workspace = true
homepage.workspace = true
repository.workspace = true
rust-version.workspace = true
edition.workspace = true
[[bin]]
name = "miden-vm"
path = "src/main.rs"
bench = false
doctest = false
required-features = ["executable"]
[lib]
path = "src/lib.rs"
bench = false
doctest = false
[[bench]]
name = "program_execution_for_trace"
required-features = ["internal", "no_err_ctx"]
harness = false
[[bench]]
name = "program_execution_fast"
required-features = ["internal", "no_err_ctx"]
harness = false
[[bench]]
name = "deserialize_std_lib"
harness = false
[[test]]
name = "miden-cli"
path = "tests/integration/main.rs"
[features]
concurrent = ["miden-prover/concurrent", "std"]
default = ["std"]
executable = ["dep:hex", "dep:clap", "dep:rustyline", "dep:tracing-subscriber", "internal", "serde", "std"]
metal = ["miden-prover/metal", "std"]
serde = ["dep:serde", "dep:serde_json"]
std = [
"hex?/std",
"miden-assembly/std",
"miden-debug-types/std",
"miden-processor/std",
"miden-prover/std",
"miden-verifier/std",
"serde?/std",
"serde_json?/std",
]
# Removes proper error context from the error messages. Enable in production builds that need
# maximal performance.
no_err_ctx = ["miden-processor/no_err_ctx"]
# For internal use, not meant to be used by users
internal = ["dep:hex", "serde"]
[dependencies]
# Miden dependencies
miden-assembly.workspace = true
miden-core.workspace = true
miden-debug-types.workspace = true
miden-processor.workspace = true
miden-prover.workspace = true
miden-mast-package.workspace = true
miden-stdlib.workspace = true
miden-verifier.workspace = true
# External dependencies
blake3.workspace = true
clap = { version = "4.4", features = ["derive"], optional = true }
hex = { version = "0.4", optional = true }
rustyline = { version = "17.0", default-features = false, optional = true }
serde = { workspace = true, optional = true }
serde_json = { workspace = true, optional = true }
tracing.workspace = true
tracing-subscriber = { version = "0.3", optional = true, features = ["std", "env-filter"] }
tracing-forest = { version = "0.2", optional = true, features = ["ansi", "smallvec"] }
[dev-dependencies]
assert_cmd = "2.0"
criterion = { workspace = true, features = ["async_tokio"] }
escargot = "0.5"
miden-utils-testing.workspace = true
num-bigint = "0.4"
predicates = "3.1"
tokio = { workspace = true, features = ["rt", "rt-multi-thread"] }
winter-fri.workspace = true
rand_chacha = "0.9"
walkdir = "2.5"