mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-02 13:53:07 +00:00
When running eg `cargo check` or `cargo build` you got greeted with the following warning: ``` warning: some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"` note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest ``` This PR fixes this.
21 lines
438 B
TOML
21 lines
438 B
TOML
[workspace]
|
|
members = ["evm", "field", "maybe_rayon", "plonky2", "starky", "util"]
|
|
resolver = "2"
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
incremental = true
|
|
#lto = "fat"
|
|
#codegen-units = 1
|
|
|
|
[profile.bench]
|
|
opt-level = 3
|
|
|
|
[patch.crates-io]
|
|
plonky2_evm = { path = "evm" }
|
|
plonky2_field = { path = "field" }
|
|
plonky2_maybe_rayon = { path = "maybe_rayon" }
|
|
plonky2 = { path = "plonky2" }
|
|
starky = { path = "starky" }
|
|
plonky2_util = { path = "util" }
|