-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
23 lines (21 loc) · 855 Bytes
/
Copy pathCargo.toml
File metadata and controls
23 lines (21 loc) · 855 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
## Workspace layout note
##
## We intentionally keep `examples/` OUT of the workspace to decouple it from
## the library crate's MSRV (Rust 1.76). This lets us:
## - Enforce MSRV for the library with `--locked` on Rust 1.76 in CI
## - Build richer examples on latest stable with newer ecosystem crates
## - Avoid workspace lock/feature resolution coupling between the two
## See `.github/workflows/ci.yml` for how CI runs the examples separately.
##
## Benchmarks are in the workspace but use latest stable (not MSRV-bound).
[workspace]
resolver = "2"
members = ["strict-path", "benches"]
# Critical to MSRV strategy: do NOT include `examples` in the workspace.
exclude = ["demos"]
# Prefer building the main library by default (not the examples crate)
default-members = ["strict-path"]
[profile.release]
lto = true
codegen-units = 1
strip = true