forked from brioche-dev/brioche
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
32 lines (26 loc) · 806 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
[workspace.package]
edition = "2021"
rust-version = "1.84" # To align with the rust-toolchain.toml
[workspace]
members = ["crates/brioche", "crates/brioche-core", "crates/brioche-pack", "crates/brioche-test-support"]
resolver = "2"
[workspace.lints.clippy]
all = { level = "warn", priority = -1 }
[profile.dev]
# Enable optimizations for debug builds because the JS runs slow without it.
# Also, we end up overflowing the stack without optimizations when parsing JS
opt-level = 2
[profile.profiling]
inherits = "release"
debug = true
[profile.release-tiny]
inherits = "release"
opt-level = "z"
lto = true
codegen-units = 1
strip = "symbols"
panic = "abort"
# Like `release-tiny`, but with debug info needed for `cargo bloat`
[profile.release-tiny-bloat]
inherits = "release-tiny"
strip = "debuginfo"