-
Notifications
You must be signed in to change notification settings - Fork 12
/
Cargo.toml
66 lines (55 loc) · 1.66 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
63
64
65
66
[package]
name = "halo2-scaffold"
version = "0.2.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
rand = "0.8"
ark-std = { version = "0.3.0", features = ["print-trace"] }
# halo2
halo2_proofs = { git = "https://github.com/privacy-scaling-explorations/halo2.git", tag = "v2023_02_02" }
# Axiom's helper API with basic functions
halo2-base = { git = "https://github.com/axiom-crypto/halo2-lib", branch = "axiom-dev-0406" }
# Axiom poseidon chip (adapted from Scroll)
poseidon = { git = "https://github.com/axiom-crypto/halo2-lib", branch = "axiom-dev-0406" }
linfa = "0.6"
linfa-logistic = "0.6"
linfa-datasets = { version = "0.6", features = ["diabetes", "winequality"] }
linfa-linear = "0.6"
ndarray = { version = "0.15", features = ["approx"] }
num-bigint = "0.4"
num-traits = "0.2"
num-integer = "0.1"
bitvec = "1"
itertools = "0.10.5"
log = "0.4"
env_logger = "0.10"
[dev-dependencies]
test-log = "0.2.11"
[features]
default = []
# Dev / testing mode. We make opt-level = 3 to improve proving times (otherwise it is really slow)
[profile.dev]
opt-level = 3
debug = 1 # change to 0 or 2 for more or less debug info
overflow-checks = true # default
incremental = true # default
# Local "release" mode, more optimized than dev but faster to compile than release
[profile.local]
inherits = "dev"
opt-level = 3
# Set this to 1 or 2 to get more useful backtraces
debug = 1
debug-assertions = false
panic = 'unwind'
# better recompile times
incremental = true
lto = "thin"
codegen-units = 16
[profile.release]
opt-level = 3
debug = false
debug-assertions = false
lto = "fat"
panic = "abort"
incremental = false