-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathCargo.toml
More file actions
99 lines (86 loc) · 2.56 KB
/
Cargo.toml
File metadata and controls
99 lines (86 loc) · 2.56 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
[package]
name = "lean-multisig"
version.workspace = true
edition.workspace = true
[workspace.package]
version = "0.1.0"
edition = "2024"
[workspace]
members = [
"crates/*",
"crates/backend/utils",
"crates/backend/field",
"crates/backend/koala-bear",
"crates/backend/poly",
"crates/backend/symetric",
"crates/backend/air",
"crates/backend/fiat-shamir",
"crates/backend/sumcheck",
]
[workspace.lints]
rust.missing_debug_implementations = "warn"
rust.rust_2018_idioms = { level = "deny", priority = -1 }
rust.dead_code = "allow"
rustdoc.all = "warn"
[lints.clippy]
# all lints that are on by default (correctness, suspicious, style, complexity, perf)
all = { level = "warn", priority = -1 }
# new lints that are still under development
nursery = { level = "warn", priority = -1 }
# avoid lints that are too pedantic
doc_markdown = "allow"
# lints which are rather strict or have occasional false positives
pedantic = { level = "warn", priority = -1 }
# avoid lints that are too pedantic
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
many_single_char_names = "allow"
should_panic_without_expect = "allow"
similar_names = "allow"
suboptimal_flops = "allow"
cast_sign_loss = "allow"
wildcard_imports = "allow"
[workspace.dependencies]
# Local
air = { path = "crates/air" }
utils = { path = "crates/utils" }
lean_vm = { path = "crates/lean_vm" }
xmss = { path = "crates/xmss" }
sub_protocols = { path = "crates/sub_protocols" }
lean_compiler = { path = "crates/lean_compiler" }
lean_prover = { path = "crates/lean_prover" }
rec_aggregation = { path = "crates/rec_aggregation" }
backend = { path = "crates/backend" }
# External
sha3 = "0.11.0"
clap = { version = "4.5.59", features = ["derive"] }
rand = "0.10.0"
rayon = "1.11.0"
pest = "2.7"
pest_derive = "2.7"
itertools = "0.14.0"
tracing = "0.1.26"
serde_json = "1.0.145"
serde = { version = "1.0.228", features = ["derive"] }
tracing-subscriber = { version = "0.3.23", features = ["std", "env-filter"] }
tracing-forest = { version = "0.3.0", features = ["ansi", "smallvec"] }
postcard = { version = "1.1.3", features = ["alloc"] }
lz4_flex = "0.13.0"
[features]
prox-gaps-conjecture = ["rec_aggregation/prox-gaps-conjecture"]
[dependencies]
clap.workspace = true
rec_aggregation.workspace = true
air.workspace = true
rand.workspace = true
sub_protocols.workspace = true
utils.workspace = true
lean_vm.workspace = true
xmss.workspace = true
backend.workspace = true
[dev-dependencies]
serde_json.workspace = true
[profile.release]
lto = "thin"