mirror of
https://github.com/astral-sh/ruff
synced 2026-01-21 13:30:49 -05:00
Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com> Co-authored-by: Micha Reiser <micha@reiser.io>
81 lines
2.6 KiB
TOML
81 lines
2.6 KiB
TOML
[package]
|
|
name = "ruff"
|
|
version = "0.6.1"
|
|
publish = true
|
|
authors = { workspace = true }
|
|
edition = { workspace = true }
|
|
rust-version = { workspace = true }
|
|
homepage = { workspace = true }
|
|
documentation = { workspace = true }
|
|
repository = { workspace = true }
|
|
license = { workspace = true }
|
|
readme = "../../README.md"
|
|
default-run = "ruff"
|
|
|
|
[dependencies]
|
|
ruff_cache = { workspace = true }
|
|
ruff_diagnostics = { workspace = true }
|
|
ruff_linter = { workspace = true, features = ["clap"] }
|
|
ruff_macros = { workspace = true }
|
|
ruff_notebook = { workspace = true }
|
|
ruff_python_ast = { workspace = true }
|
|
ruff_python_formatter = { workspace = true }
|
|
ruff_server = { workspace = true }
|
|
ruff_source_file = { workspace = true }
|
|
ruff_text_size = { workspace = true }
|
|
ruff_workspace = { workspace = true }
|
|
|
|
anyhow = { workspace = true }
|
|
argfile = { workspace = true }
|
|
bincode = { workspace = true }
|
|
bitflags = { workspace = true }
|
|
cachedir = { workspace = true }
|
|
chrono = { workspace = true }
|
|
clap = { workspace = true, features = ["derive", "env", "wrap_help"] }
|
|
clap_complete_command = { workspace = true }
|
|
clearscreen = { workspace = true }
|
|
colored = { workspace = true }
|
|
filetime = { workspace = true }
|
|
ignore = { workspace = true }
|
|
is-macro = { workspace = true }
|
|
itertools = { workspace = true }
|
|
log = { workspace = true }
|
|
notify = { workspace = true }
|
|
path-absolutize = { workspace = true, features = ["once_cell_cache"] }
|
|
rayon = { workspace = true }
|
|
regex = { workspace = true }
|
|
rustc-hash = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
shellexpand = { workspace = true }
|
|
strum = { workspace = true, features = [] }
|
|
tempfile = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
toml = { workspace = true }
|
|
tracing = { workspace = true, features = ["log"] }
|
|
walkdir = { workspace = true }
|
|
wild = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
# Enable test rules during development
|
|
ruff_linter = { workspace = true, features = ["clap", "test-rules"] }
|
|
# Avoid writing colored snapshots when running tests from the terminal
|
|
colored = { workspace = true, features = ["no-color"] }
|
|
insta = { workspace = true, features = ["filters", "json"] }
|
|
insta-cmd = { workspace = true }
|
|
tempfile = { workspace = true }
|
|
test-case = { workspace = true }
|
|
|
|
[package.metadata.cargo-shear]
|
|
# Used via macro expansion.
|
|
ignored = ["chrono"]
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
mimalloc = { workspace = true }
|
|
|
|
[target.'cfg(all(not(target_os = "windows"), not(target_os = "openbsd"), any(target_arch = "x86_64", target_arch = "aarch64", target_arch = "powerpc64")))'.dependencies]
|
|
tikv-jemallocator = { workspace = true }
|
|
|
|
[lints]
|
|
workspace = true
|