-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
39 lines (34 loc) · 1.1 KB
/
Copy pathCargo.toml
File metadata and controls
39 lines (34 loc) · 1.1 KB
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
35
36
37
38
39
[workspace]
resolver = "2"
members = [
"crates/plotnik",
"crates/plotnik-cli",
"crates/plotnik-lib",
"crates/plotnik-macros",
"crates/plotnik-rt",
"crates/plotnik-tests",
"crates/plotnik-wasm",
]
[workspace.package]
version = "0.4.0"
license = "Apache-2.0"
repository = "https://github.com/plotnik-lang/plotnik"
edition = "2024"
[workspace.dependencies]
plotnik-lib = { path = "crates/plotnik-lib", version = "0.4.0" }
plotnik-rt = { path = "crates/plotnik-rt", version = "0.4.0" }
[workspace.lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage_nightly)'] }
[workspace.lints.clippy]
unwrap_used = "deny"
# Keep arithmetic overflow/underflow loud in release, not just debug: a wrap that
# breaks an internal invariant must crash (the same discipline as panic!/.expect()),
# never silently corrupt downstream offsets/indices.
[profile.release]
overflow-checks = true
lto = "thin"
codegen-units = 1
# Benches inherit release; line tables let profilers (samply, Instruments)
# symbolicate the inlined hot loop at zero runtime cost.
[profile.bench]
debug = "line-tables-only"