-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathCargo.toml
More file actions
113 lines (99 loc) · 4.53 KB
/
Cargo.toml
File metadata and controls
113 lines (99 loc) · 4.53 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
101
102
103
104
105
106
107
108
109
110
111
112
113
[package]
name = "lean-multisig"
version.workspace = true
edition.workspace = true
[workspace.package]
version = "0.1.0"
edition = "2024"
[workspace]
members = ["crates/*", "crates/lean_prover/vm_air", "crates/lean_prover/witness_generation"]
[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"
[workspace.dependencies]
# Local
air = { path = "crates/air" }
utils = { path = "crates/utils" }
lean_vm = { path = "crates/lean_vm" }
xmss = { path = "crates/xmss" }
packed_pcs = { path = "crates/packed_pcs" }
lookup = { path = "crates/lookup" }
lean_compiler = { path = "crates/lean_compiler" }
lean_prover = { path = "crates/lean_prover" }
rec_aggregation = { path = "crates/rec_aggregation" }
witness_generation = { path = "crates/lean_prover/witness_generation" }
vm_air = { path = "crates/lean_prover/vm_air" }
poseidon_circuit = { path = "crates/poseidon_circuit" }
# External
thiserror = "2.0"
clap = { version = "4.3.10", features = ["derive"] }
rand = "0.9.2"
sha3 = "0.10.8"
rayon = "1.5.1"
derive_more = { version = "2.0.1", features = ["full"] }
pest = "2.7"
pest_derive = "2.7"
colored = "3.0.0"
tracing = "0.1.26"
serde_json = "*"
tracing-subscriber = { version = "0.3.19", features = ["std", "env-filter"] }
tracing-forest = { version = "0.2.0", features = ["ansi", "smallvec"] }
p3-koala-bear = { git = "https://github.com/TomWambsgans/Plonky3.git", branch = "lean-multisig" }
p3-baby-bear = { git = "https://github.com/TomWambsgans/Plonky3.git", branch = "lean-multisig" }
p3-field = { git = "https://github.com/TomWambsgans/Plonky3.git", branch = "lean-multisig" }
p3-poseidon2 = { git = "https://github.com/TomWambsgans/Plonky3.git", branch = "lean-multisig" }
p3-matrix = { git = "https://github.com/TomWambsgans/Plonky3.git", branch = "lean-multisig" }
p3-blake3 = { git = "https://github.com/TomWambsgans/Plonky3.git", branch = "lean-multisig" }
p3-symmetric = { git = "https://github.com/TomWambsgans/Plonky3.git", branch = "lean-multisig" }
p3-air = { git = "https://github.com/TomWambsgans/Plonky3.git", branch = "lean-multisig" }
p3-uni-stark = { git = "https://github.com/TomWambsgans/Plonky3.git", branch = "lean-multisig" }
p3-poseidon2-air = { git = "https://github.com/TomWambsgans/Plonky3.git", branch = "lean-multisig" }
p3-goldilocks = { git = "https://github.com/TomWambsgans/Plonky3.git", branch = "lean-multisig" }
p3-challenger = { git = "https://github.com/TomWambsgans/Plonky3.git", branch = "lean-multisig" }
p3-util = { git = "https://github.com/TomWambsgans/Plonky3.git", branch = "lean-multisig" }
p3-monty-31 = { git = "https://github.com/TomWambsgans/Plonky3.git", branch = "lean-multisig" }
whir-p3 = { git = "https://github.com/TomWambsgans/whir-p3", branch = "lean-multisig" }
multilinear-toolkit = { git = "https://github.com/leanEthereum/multilinear-toolkit.git" }
[dependencies]
clap.workspace = true
rec_aggregation.workspace = true
poseidon_circuit.workspace = true
# [patch."https://github.com/TomWambsgans/Plonky3.git"]
# p3-koala-bear = { path = "../zk/Plonky3/koala-bear" }
# p3-field = { path = "../zk/Plonky3/field" }
# p3-poseidon2 = { path = "../zk/Plonky3/poseidon2" }
# p3-matrix = { path = "../zk/Plonky3/matrix" }
# p3-symmetric = { path = "../zk/Plonky3/symmetric" }
# p3-air = { path = "../zk/Plonky3/air" }
# p3-uni-stark = { path = "../zk/Plonky3/uni-stark" }
# p3-poseidon2-air = { path = "../zk/Plonky3/poseidon2-air" }
# p3-dft = { path = "../zk/Plonky3/dft" }
# p3-challenger = { path = "../zk/Plonky3/challenger" }
# p3-monty-31 = { path = "../zk/Plonky3/monty-31" }
# [patch."https://github.com/TomWambsgans/whir-p3.git"]
# whir-p3 = { path = "../zk/whir/fork-whir-p3" }
# [patch."https://github.com/leanEthereum/multilinear-toolkit.git"]
# multilinear-toolkit = { path = "../zk/multilinear-toolkit" }
[profile.release]
lto = "thin"