mirror of
https://github.com/astral-sh/ruff
synced 2026-01-21 13:30:49 -05:00
This PR introduces a new `crates` directory and moves all "product" crates into that folder. Part of #2059.
21 lines
533 B
TOML
21 lines
533 B
TOML
[workspace]
|
|
members = ["crates/*"]
|
|
default-members = ["crates/ruff", "crates/ruff_cli"]
|
|
|
|
[profile.release]
|
|
panic = "abort"
|
|
lto = "thin"
|
|
codegen-units = 1
|
|
opt-level = 3
|
|
|
|
[profile.dev.package.insta]
|
|
opt-level = 3
|
|
|
|
[profile.dev.package.similar]
|
|
opt-level = 3
|
|
|
|
# Reduce complexity of a parser function that would trigger a locals limit in a wasm tool.
|
|
# https://github.com/bytecodealliance/wasm-tools/blob/b5c3d98e40590512a3b12470ef358d5c7b983b15/crates/wasmparser/src/limits.rs#L29
|
|
[profile.dev.package.rustpython-parser]
|
|
opt-level = 1
|