mirror of
https://github.com/astral-sh/ruff
synced 2026-01-09 23:54:36 -05:00
41 lines
1.4 KiB
TOML
41 lines
1.4 KiB
TOML
[workspace]
|
|
members = ["crates/*"]
|
|
|
|
[workspace.package]
|
|
edition = "2021"
|
|
rust-version = "1.65.0"
|
|
|
|
[workspace.dependencies]
|
|
anyhow = { version = "1.0.66" }
|
|
clap = { version = "4.0.1", features = ["derive"] }
|
|
itertools = { version = "0.10.5" }
|
|
libcst = { git = "https://github.com/charliermarsh/LibCST", rev = "f2f0b7a487a8725d161fe8b3ed73a6758b21e177" }
|
|
once_cell = { version = "1.16.0" }
|
|
regex = { version = "1.6.0" }
|
|
rustc-hash = { version = "1.1.0" }
|
|
rustpython-common = { git = "https://github.com/RustPython/RustPython.git", rev = "ddf497623ae56d21aa4166ff1c0725a7db67e955" }
|
|
rustpython-parser = { features = ["lalrpop"], git = "https://github.com/RustPython/RustPython.git", rev = "ddf497623ae56d21aa4166ff1c0725a7db67e955" }
|
|
schemars = { version = "0.8.11" }
|
|
serde = { version = "1.0.147", features = ["derive"] }
|
|
serde_json = { version = "1.0.87" }
|
|
strum = { version = "0.24.1", features = ["strum_macros"] }
|
|
strum_macros = { version = "0.24.3" }
|
|
toml = { version = "0.6.0" }
|
|
|
|
[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
|