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
68 lines (61 loc) · 1.9 KB
/
Cargo.toml
File metadata and controls
68 lines (61 loc) · 1.9 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
[package]
name = "miden-processor"
version.workspace = true
description = "Miden VM processor"
documentation = "https://docs.rs/miden-processor"
readme = "README.md"
categories = ["emulators", "no-std"]
keywords = ["miden", "virtual-machine"]
license.workspace = true
authors.workspace = true
homepage.workspace = true
repository.workspace = true
rust-version.workspace = true
edition.workspace = true
exclude = ["*.snap"]
[lib]
bench = false
doctest = false
[features]
concurrent = ["std"]
default = ["std"]
std = [
"miden-core/std",
"miden-debug-types/std",
"miden-utils-diagnostics/std",
"thiserror/std",
]
testing = ["miden-air/testing"]
# Removes proper error context from the error messages. Enable in production builds that need
# maximal performance.
no_err_ctx = []
# Like `testing`, but slows down the processor speed to make it easier to debug.
bus-debugger = ["testing", "miden-air/testing"]
[dependencies]
# Miden dependencies
miden-air.workspace = true
miden-core.workspace = true
miden-debug-types.workspace = true
miden-utils-diagnostics.workspace = true
miden-utils-indexing.workspace = true
# External dependencies
itertools.workspace = true
p3-matrix.workspace = true
paste.workspace = true
rayon = { version = "1.10", default-features = false }
tracing.workspace = true
thiserror.workspace = true
# Platform-specific tokio dependencies
# On non-wasm targets, enable rt-multi-thread for better performance
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio = { workspace = true, features = ["rt", "rt-multi-thread"] }
# On wasm32, only basic tokio features are supported
[target.'cfg(target_arch = "wasm32")'.dependencies]
tokio = { workspace = true, features = ["rt", "macros"] }
[dev-dependencies]
miden-assembly.workspace = true
miden-utils-testing.workspace = true
insta.workspace = true
pretty_assertions = { version = "1.4" }
proptest.workspace = true
rstest = { version = "0.26" }