-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathCargo.toml
More file actions
66 lines (60 loc) · 1.81 KB
/
Copy pathCargo.toml
File metadata and controls
66 lines (60 loc) · 1.81 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
[workspace]
members = [
"piop",
"poly",
"primality",
"protocol",
"test-uair",
"transcript",
"uair",
"utils",
"zip-plus",
]
resolver = "3"
default-members = ["piop", "poly", "primality", "protocol", "transcript", "utils", "zip-plus"]
[workspace.package]
version = "0.1.0"
edition = "2024"
repository = "https://github.com/NethermindEth/zinc-plus"
license = "Apache-2.0"
publish = false
[workspace.dependencies]
blake3 = "1.8"
criterion = "0.7.0"
crypto-bigint = { version = "= 0.7.5", features = ["zeroize"] }
crypto-primitives = { git = "https://github.com/NethermindEth/crypto-primitives.git", rev = "3c083a9", features = ["std", "crypto_bigint", "rand"] }
derive_more = { version = "2.1.1", features = ["full"] }
itertools = "0.14"
num-traits = "0.2"
proptest = "1.9.0"
rand = "0.10"
rand_core = "0.10"
rayon = { version = "1.10" }
thiserror = "2.0"
zinc-piop = { path = "piop/" }
zinc-poly = { path = "poly/" }
zinc-primality = { path = "primality/" }
zinc-test-uair = { path = "test-uair/" }
zinc-transcript = { path = "transcript/" }
zinc-uair = { path = "uair/" }
zinc-utils = { path = "utils/" }
zip-plus = { path = "zip-plus/" }
[workspace.lints.rust]
missing_docs = "allow" # TODO(alex): replace with "deny" once code has been more-or-less stabilized
unsafe_code = "allow" # TODO(alex): replace with "forbid"
[workspace.lints.clippy]
arithmetic_side_effects = "deny"
cast_lossless = "deny"
cast_possible_truncation = "deny"
cast_possible_wrap = "deny"
cast_precision_loss = "deny"
cast_sign_loss = "deny"
clone_on_copy = "warn"
needless_return = "deny"
panicking_overflow_checks = "deny"
redundant_clone = "deny"
unnecessary_to_owned = "deny"
unwrap_used = "deny"
[profile.release]
lto = true # Enable Link Time Optimization
codegen-units = 1 # Slower compilation but potentially better optimization