forked from 0xProject/OpenZKP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
33 lines (29 loc) · 831 Bytes
/
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
[workspace]
members = [
"utils/macros-lib",
"utils/macros-impl",
"utils/macros-decl",
"utils/criterion-utils",
"utils/error-utils",
"utils/logging-allocator",
"utils/mmap-vec",
"algebra/u256",
"algebra/primefield",
"algebra/elliptic-curve",
"crypto/hash",
"crypto/merkle-tree",
"crypto/elliptic-curve-crypto",
"crypto/stark",
]
# TODO: Not all of the workspace would need to be published.
# See https://github.com/rust-lang/rfcs/pull/2224
[profile.release]
opt-level = 3
lto = 'thin'
# Doing light optimizations helps test performance more than it hurts build time.
[profile.test]
opt-level = 2
# Compilation profile for any non-workspace member.
# We want OpenZKP to always be build optimized, otherwise tests will run very slow.
[profile.dev.package."*"]
opt-level = 3