-
Notifications
You must be signed in to change notification settings - Fork 14
/
Cargo.toml
89 lines (79 loc) · 2.32 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
[package]
name = "corset"
version = "9.7.17"
edition = "2021"
rust-version = "1.70.0"
authors = [ "Franklin Delehelle <[email protected]>" ]
build = "build.rs"
default-run="corset"
[lib]
crate-type = ["cdylib", "staticlib"]
[[bin]]
name = "corset"
path = "src/main.rs"
[[bin]]
name = "cgo-corset"
path = "src/cgo-main.rs"
[dependencies]
anyhow = "1"
ark-bls12-377 = "0.4.0"
ark-serialize = { version = "0.4", features = ["derive"] }
buche = "0.7"
buildstructor = "0.5.2"
cached = { version = "0.48", default-features = false }
clap = { version = "4", features = ["derive", "wrap_help", "cargo"], optional = true }
clap-verbosity-flag = { version = "2", optional = true }
convert_case = "0.6"
crossterm = { version = "0.27.0", optional = true }
either = { version = "1.8.1", features = ["serde"] }
errno = "0.3.0"
flate2 = "1"
handlebars = { version = "5.1", default-features = false, optional = true }
itertools = "0.12"
lazy_static = "1.4"
libc = {version = "0.2.139", default-features = false }
log = "0.4"
logging_timer = "1.1.0"
maplit = "1.0"
md5 = "0.7"
num-bigint = { version = "0.4", features = ["serde"] }
num-traits = "0.2"
owo-colors = "4"
pest = "2.4"
pest_derive = "2.4"
postgres = { version = "0.19", optional = true }
ratatui = {version = "0.27", optional = true }
rayon = "1.5"
regex-lite = "0.1"
ron = "^0.7.0"
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1", features = ["arbitrary_precision"] }
sorbus = "0.9"
thiserror = "1.0.38"
tui-textarea = { version = "0.4", optional = true }
ellipse = "0.2.0"
ark-ff = "0.4.2"
memmap2 = "0.9.0"
rusqlite = { version = "0.30.0", optional = true }
[target.'cfg(all(target_arch = "x86_64", target_feature = "avx"))'.dependencies]
simd-json = "0.13"
[features]
cli = ["dep:clap-verbosity-flag", "dep:clap"]
conflater = []
default = ["cli", "exporters", "inspector"]
exporters = ["dep:handlebars"]
inspector = ["dep:crossterm", "dep:ratatui", "dep:tui-textarea", "cli"]
postgres = ["dep:postgres"]
sqlite = ["dep:rusqlite"]
[package.metadata.release]
tag-prefix = ""
publish = false
pre-release-hook = ["git-cliff", "-o", "CHANGELOG.md", "--tag", "{{version}}"]
allow-branch = ["master"]
# Always optimize dependencies
[profile.dev.package."*"]
opt-level = 3
[build-dependencies]
cbindgen = {version = "0.26", default-features = false }
[profile.release]
debug = true