mirror of
https://github.com/vacp2p/zerokit.git
synced 2025-02-10 13:37:12 +00:00
Since profile info specified inside workspace members `Cargo.toml`'s is ignored by Cargo, this replaces the place to specify these details for the workspace-level `Cargo.toml`. NOTE that `panic` and `rpath` aren't supported with the Overwritting feature. Therefore, the only required thing (if considered necessary) is to create a new profile which also enables these things. Resolves: #93
22 lines
506 B
TOML
22 lines
506 B
TOML
[workspace]
|
|
members = [
|
|
"multiplier",
|
|
"private-settlement",
|
|
"semaphore",
|
|
"rln",
|
|
"rln-wasm",
|
|
"utils",
|
|
]
|
|
|
|
# Compilation profile for any non-workspace member.
|
|
# Dependencies are optimized, even in a dev build. This improves dev performance
|
|
# while having neglible impact on incremental build times.
|
|
[profile.dev.package."*"]
|
|
opt-level = 3
|
|
|
|
[profile.release.package."rln-wasm"]
|
|
# Tell `rustc` to optimize for small code size.
|
|
opt-level = "s"
|
|
|
|
[profile.release.package."semaphore"]
|
|
codegen-units = 1 |