typos/Cargo.toml
Ed Page 1250609272 perf(cli): Speed up with codegen-units
On `rust-lang/rust`, this took `typos --format silent` times from ~24s
to ~18s.  Enabling `lto = "thin"` was about the same as `lto = true` and
was sub-second improvement.
2023-09-18 14:06:23 -05:00

29 lines
468 B
TOML

[workspace]
members = [
"crates/*",
]
default-members = ["crates/typos-cli"]
resolver = "2"
[workspace.package]
license = "MIT OR Apache-2.0"
repository = "https://github.com/crate-ci/typos"
edition = "2021"
rust-version = "1.70.0" # MSRV
include = [
"build.rs",
"src/**/*",
"Cargo.toml",
"Cargo.lock",
"LICENSE*",
"README.md",
"benches/**/*",
"examples/**/*"
]
[profile.dev]
panic = "abort"
[profile.release]
panic = "abort"
codegen-units = 1