forked from a16z/jolt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
99 lines (87 loc) · 2.43 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
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 = "jolt"
version = "0.1.0"
authors = [
# author of original Spartan paper and code base
"Srinath Setty <[email protected]>",
# authors who contributed to the Arkworks Spartan fork
"Zhenfei Zhang <[email protected]>",
# authors who contributed to Lasso/Jolt
"Michael Zhu <[email protected]>",
"Sam Ragsdale <[email protected]>",
"Noah Citron <[email protected]>",
"Arasu Arun <[email protected]>",
]
edition = "2021"
description = "The lookup singularity. Based on Spartan; built on Arkworks."
documentation = "https://github.com/a16z/jolt/README.md"
repository = "https://github.com/a16z/jolt"
license-file = "LICENSE"
keywords = ["SNARK", "cryptography", "proofs"]
[workspace]
members = [
"jolt-core",
"tracer",
"common",
"jolt-sdk",
"jolt-sdk/macros",
"examples/collatz",
"examples/collatz/guest",
"examples/fibonacci",
"examples/fibonacci/guest",
"examples/sha2-ex",
"examples/sha2-ex/guest",
"examples/sha3-ex",
"examples/sha3-ex/guest",
"examples/sha2-chain",
"examples/sha2-chain/guest",
"examples/sha3-chain",
"examples/sha3-chain/guest",
"examples/multi-function",
"examples/multi-function/guest",
"examples/alloc",
"examples/alloc/guest",
"examples/stdlib",
"examples/stdlib/guest",
"examples/muldiv",
"examples/muldiv/guest",
]
[features]
host = ["jolt-sdk/host"]
[lib]
path = "./src/lib.rs"
[[bin]]
name = "jolt"
path = "./src/main.rs"
[dependencies]
clap = { version = "4.5.4", features = ["derive"] }
eyre = "0.6.12"
rand = "0.8.5"
sysinfo = "0.30.8"
syn = { version = "1.0.0", features = ["full"] }
serde = { version = "1.0", features = ["derive"] }
rmp-serde = "1.3.0"
toml_edit = "0.22.14"
jolt-sdk = { path = "./jolt-sdk" }
jolt-core = { path = "./jolt-core" }
common = { path = "./common" }
[profile.test]
opt-level = 3
lto = "off"
[profile.release]
debug = 1
codegen-units = 1
lto = "fat"
[profile.build-fast]
inherits = "release"
incremental = true
lto = "off"
[profile.guest]
inherits = "release"
debug = false
[patch.crates-io]
ark-ff = { git = "https://github.com/a16z/arkworks-algebra", branch = "optimize/field-from-u64" }
ark-ec = { git = "https://github.com/a16z/arkworks-algebra", branch = "optimize/field-from-u64" }
ark-serialize = { git = "https://github.com/a16z/arkworks-algebra", branch = "optimize/field-from-u64" }
[workspace.metadata.cargo-machete]
ignored = ["jolt-sdk"]