This repository was archived by the owner on Jul 29, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 78
Expand file tree
/
Copy pathCargo.toml
More file actions
63 lines (59 loc) · 3.7 KB
/
Copy pathCargo.toml
File metadata and controls
63 lines (59 loc) · 3.7 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
[package]
name = "noname"
version = "0.7.0"
edition = "2021"
build = "build.rs"
description = "a programming language for writing zkapps"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[build-dependencies]
fs_extra = "1.3.0"
dirs = "4.0"
[dependencies]
ark-ec = "0.5" # elliptic curve library
ark-ff = "0.5"
ark-bls12-381 = { version = "0.5", optional = true } # bls12-381 curve for r1cs backend
ark-relations = { version = "0.5", optional = true }
ark-bn254 = { version = "0.5", optional = true } # bn128 curve for r1cs backend
ark-serialize = "0.5" # serialization of arkworks types
axum = { version = "0.7.7", features = ["macros"], optional = true } # web server
base64 = "0.22.1" # for base64 encoding
educe = { version = "0.6", default-features = false, features = [
"Hash",
"PartialEq",
"PartialOrd",
] }
ena = "0.14.0" # union-find implementation for the wiring
hex = "0.4.3"
num-bigint = { version = "0.4.3", features = ["serde"] } # big int library
camino = "1.1.1" # to replace Path and PathBuf
clap = { version = "4.0.5", features = ["derive"] } # CLI library
dirs = "4.0.0" # helper functions (e.g. getting the home directory)
itertools = "0.10.3" # useful iter traits
kimchi = { git = "https://github.com/o1-labs/proof-systems", rev = "c1803e0a480172c193ba67c826110980303a172f", optional = true } # ZKP
miette = { version = "5.0.0", features = ["fancy"] } # nice errors
num-traits = "0.2.15" # useful traits on big ints
once_cell = "1.15.0" # for lazy statics
regex = "1.6.0" # for regexes
rmp-serde = "1.1.1" # for serialization
serde_with = { version = "3.11.0", features = ["json"] }
serde_json = "1.0.85" # to (de)serialize JSON
serde = "1.0.144" # to (de)serialize objects
thiserror = "1.0.31" # helpful error traits
toml = "0.8.8" # to parse manifest files
constraint_writers = { git = "https://github.com/iden3/circom.git", tag = "v2.1.8", optional = true } # to generate r1cs file
num-bigint-dig = "0.6.0" # to adapt for circom lib
rand = "0.8.5"
rstest = "0.19.0" # for testing different backend cases
rug = "1.26.1" # circ uses this for integer type
circ = { git = "https://github.com/circify/circ", rev = "8140b1369edd5992ede038d2e9e5721510ae7065" } # for compiling to circ IR
circ_fields = { git = "https://github.com/circify/circ", rev = "8140b1369edd5992ede038d2e9e5721510ae7065", subdir = "circ_fields" } # for field types supported by circ
fxhash = "0.2.1" # hash algorithm used by circ
tokio = { version = "1.41.0", features = ["sync", "rt"] }
tower-http = { version = "0.6.1", features = ["trace", "fs"], optional = true }
tracing-subscriber = "0.3.18"
[features]
default = ["cli"]
cli = ["kimchi", "r1cs", "server"]
server = ["tokio/full", "dep:tower-http", "dep:axum"]
kimchi = ["dep:kimchi"]
r1cs = ["dep:constraint_writers", "dep:ark-bls12-381", "dep:ark-bn254", "dep:ark-relations"]