## Summary Long ago, we had a single `ruff` crate. We started to break that up, and at some point, we wanted to separate the CLI from the core library. So we created `ruff_cli`, which created a `ruff` binary. Later, the `ruff` crate was renamed to `ruff_linter` and further broken up into additional crates. (This is all from memory -- I didn't bother to look through the history to ensure that this is 100% correct :)) Now that `ruff` no longer exists, this PR renames `ruff_cli` to `ruff`. The primary benefit is that the binary target and the crate name are now the same, which helps with downstream tooling like `cargo-dist`, and also removes some complexity from the crate and `Cargo.toml` itself. ## Test Plan - Ran `rm -rf target/release`. - Ran `cargo build --release`. - Verified that `./target/release/ruff` was created.
58 lines
1.8 KiB
TOML
58 lines
1.8 KiB
TOML
[package]
|
|
name = "ruff_dev"
|
|
version = "0.0.0"
|
|
publish = false
|
|
authors = { workspace = true }
|
|
edition = { workspace = true }
|
|
rust-version = { workspace = true }
|
|
homepage = { workspace = true }
|
|
documentation = { workspace = true }
|
|
repository = { workspace = true }
|
|
license = { workspace = true }
|
|
|
|
[dependencies]
|
|
ruff = { path = "../ruff" }
|
|
ruff_diagnostics = { path = "../ruff_diagnostics" }
|
|
ruff_formatter = { path = "../ruff_formatter" }
|
|
ruff_linter = { path = "../ruff_linter", features = ["schemars"] }
|
|
ruff_notebook = { path = "../ruff_notebook" }
|
|
ruff_python_ast = { path = "../ruff_python_ast" }
|
|
ruff_python_codegen = { path = "../ruff_python_codegen" }
|
|
ruff_python_formatter = { path = "../ruff_python_formatter" }
|
|
ruff_python_parser = { path = "../ruff_python_parser" }
|
|
ruff_python_stdlib = { path = "../ruff_python_stdlib" }
|
|
ruff_python_trivia = { path = "../ruff_python_trivia" }
|
|
ruff_workspace = { path = "../ruff_workspace", features = ["schemars"]}
|
|
|
|
anyhow = { workspace = true }
|
|
clap = { workspace = true }
|
|
ignore = { workspace = true }
|
|
imara-diff = { workspace = true }
|
|
indicatif = { workspace = true }
|
|
itertools = { workspace = true }
|
|
libcst = { workspace = true }
|
|
once_cell = { workspace = true }
|
|
pretty_assertions = { workspace = true }
|
|
rayon = { workspace = true }
|
|
regex = { workspace = true }
|
|
schemars = { workspace = true }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { workspace = true }
|
|
similar = { workspace = true }
|
|
strum = { workspace = true }
|
|
tempfile = { workspace = true }
|
|
toml = { workspace = true, features = ["parse"] }
|
|
tracing = { workspace = true }
|
|
tracing-indicatif = { workspace = true }
|
|
tracing-subscriber = { workspace = true, features = ["env-filter"] }
|
|
|
|
[dev-dependencies]
|
|
indoc = { workspace = true }
|
|
|
|
[features]
|
|
# Turn off rayon for profiling
|
|
singlethreaded = []
|
|
|
|
[lints]
|
|
workspace = true
|