-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathCargo.toml
62 lines (58 loc) · 2.38 KB
/
Cargo.toml
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
[workspace]
members = [
"bin/node",
"bin/faucet",
"crates/block-producer",
"crates/proto",
"crates/rpc-proto",
"crates/rpc",
"crates/store",
"crates/utils",
"crates/test-macro",
]
resolver = "2"
[workspace.package]
edition = "2021"
rust-version = "1.82"
version = "0.7.2"
license = "MIT"
authors = ["Miden contributors"]
homepage = "https://polygon.technology/polygon-miden"
repository = "https://github.com/0xPolygonMiden/miden-node"
exclude = [".github/"]
readme = "README.md"
[workspace.dependencies]
assert_matches = { version = "1.5" }
miden-air = { version = "0.12" }
miden-lib = { version = "0.7" }
miden-node-block-producer = { path = "crates/block-producer", version = "0.7" }
miden-node-proto = { path = "crates/proto", version = "0.7" }
miden-node-rpc = { path = "crates/rpc", version = "0.7" }
miden-node-store = { path = "crates/store", version = "0.7" }
miden-node-test-macro = { path = "crates/test-macro" }
miden-node-utils = { path = "crates/utils", version = "0.7" }
miden-objects = { version = "0.7" }
miden-processor = { version = "0.12" }
miden-stdlib = { version = "0.12", default-features = false }
miden-tx = { version = "0.7" }
prost = { version = "0.13" }
rand = { version = "0.8" }
thiserror = { version = "2.0", default-features = false }
tokio = { version = "1.40", features = ["rt-multi-thread"] }
tokio-stream = { version = "0.1" }
tonic = { version = "0.12" }
tracing = { version = "0.1" }
tracing-subscriber = { version = "0.3", features = ["fmt", "json", "env-filter"] }
# Lints are set to warn for development, which are promoted to errors in CI.
[workspace.lints.clippy]
# Pedantic lints are set to a lower priority which allows lints in the group to be selectively enabled.
pedantic = { level = "warn", priority = -1 }
cast_possible_truncation = "allow" # Overly many instances especially regarding indices.
ignored_unit_patterns = "allow" # Stylistic choice.
large_types_passed_by_value = "allow" # Triggered by BlockHeader being Copy + 334 bytes.
missing_errors_doc = "allow" # TODO: fixup and enable this.
missing_panics_doc = "allow" # TODO: fixup and enable this.
module_name_repetitions = "allow" # Many triggers, and is a stylistic choice.
must_use_candidate = "allow" # This marks many fn's which isn't helpful.
should_panic_without_expect = "allow" # We don't care about the specific panic message.
# End of pedantic lints.