Files

28 lines
945 B
TOML

[workspace]
members = ["crates/resolved", "crates/resolved-cli", "crates/resolved-showcase"]
# "3" picks dependency versions that support rust-version below.
resolver = "3"
[workspace.package]
version = "0.1.0"
edition = "2021"
# The oldest toolchain this is tested against, not the oldest it might compile on.
rust-version = "1.89"
authors = ["Connor Johnstone"]
license = "MIT"
repository = "https://git.rcjohnstone.com/connor/resolved"
[workspace.dependencies]
resolved = { path = "crates/resolved" }
# Dependencies optimized in debug builds: wgpu's validation layers and PNG coding are
# otherwise slow enough to dominate the test suite. Our own crates stay unoptimized.
[profile.dev.package."*"]
opt-level = 2
# Tests build our own crates at opt-level 1: with their f64 reference images and
# quadratures unoptimized, the suite took 61 s instead of 23. `cargo build` and
# `cargo run` keep the dev profile.
[profile.test]
opt-level = 1