-
Notifications
You must be signed in to change notification settings - Fork 10
/
Cargo.toml
34 lines (31 loc) · 1.23 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
[workspace]
members = [
"examples",
"barustenberg",
"barustenberg-benches",
"barustenberg-wasm",
]
resolver = "2"
# See https://doc.rust-lang.org/cargo/reference/profiles.html for more info.
[profile.release.package.barustenberg-wasm]
# Perform optimizations on all codegen units.
codegen-units = 1
# Tell `rustc` to optimize for small code size.
opt-level = "s" # or 'z' to optimize "aggressively" for size
# Strip debug symbols
# "symbols" issue: https://github.com/rust-lang/rust/issues/93294
## strip = "debuginfo"
# Amount of debug information.
# 0/false: no debug info at all; 1: line tables only; 2/true: full debug info
## debug = false
# Speedup build on macOS
# See https://blog.rust-lang.org/2021/03/25/Rust-1.51.0.html#splitting-debug-information
[profile.dev]
split-debuginfo = "unpacked"
[patch.crates-io]
ark-bn254 = { git = "https://github.com/lonerapier/curves/" } # TODO: remove after `Debug` is not being used
ark-grumpkin = { git = "https://github.com/arkworks-rs/curves/" }
ark-ff = { git = "https://github.com/arkworks-rs/algebra/" }
ark-ec = { git = "https://github.com/arkworks-rs/algebra/" }
ark-serialize = { git = "https://github.com/arkworks-rs/algebra/" }
ark-poly = { git = "https://github.com/arkworks-rs/algebra/" }