mirror of https://github.com/astral-sh/ruff
78 lines
2.6 KiB
TOML
78 lines
2.6 KiB
TOML
[package]
|
|
name = "ruff_cli"
|
|
version = "0.0.265"
|
|
authors = ["Charlie Marsh <charlie.r.marsh@gmail.com>"]
|
|
edition = { workspace = true }
|
|
rust-version = { workspace = true }
|
|
documentation = "https://github.com/charliermarsh/ruff"
|
|
homepage = "https://github.com/charliermarsh/ruff"
|
|
repository = "https://github.com/charliermarsh/ruff"
|
|
readme = "../../README.md"
|
|
license = "MIT"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[[bin]]
|
|
name = "ruff"
|
|
|
|
# Since the name of the binary is the same as the name of the `ruff` crate
|
|
# running `cargo doc --no-deps --all` results in an `output filename collision`
|
|
# See also https://github.com/rust-lang/cargo/issues/6313.
|
|
# We therefore disable the documentation generation for the binary.
|
|
doc = false
|
|
|
|
[dependencies]
|
|
ruff = { path = "../ruff", features = ["clap"] }
|
|
ruff_cache = { path = "../ruff_cache" }
|
|
ruff_diagnostics = { path = "../ruff_diagnostics" }
|
|
ruff_python_ast = { path = "../ruff_python_ast" }
|
|
ruff_text_size = { workspace = true }
|
|
|
|
annotate-snippets = { version = "0.9.1", features = ["color"] }
|
|
anyhow = { workspace = true }
|
|
argfile = { version = "0.1.5" }
|
|
atty = { version = "0.2.14" }
|
|
bincode = { version = "1.3.3" }
|
|
bitflags = { workspace = true }
|
|
cachedir = { version = "0.3.0" }
|
|
chrono = { workspace = true }
|
|
clap = { workspace = true, features = ["derive", "env"] }
|
|
clap_complete_command = { version = "0.5.1" }
|
|
clearscreen = { version = "2.0.0" }
|
|
colored = { workspace = true }
|
|
filetime = { workspace = true }
|
|
glob = { workspace = true }
|
|
ignore = { workspace = true }
|
|
itertools = { workspace = true }
|
|
log = { workspace = true }
|
|
notify = { version = "5.1.0" }
|
|
path-absolutize = { workspace = true, features = ["once_cell_cache"] }
|
|
rayon = { version = "1.7.0" }
|
|
regex = { workspace = true }
|
|
ruff_python_stdlib = { path = "../ruff_python_stdlib" }
|
|
rustc-hash = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
shellexpand = { workspace = true }
|
|
similar = { workspace = true }
|
|
strum = { workspace = true, features = [] }
|
|
textwrap = { workspace = true }
|
|
walkdir = { version = "2.3.2" }
|
|
wild = { version = "2" }
|
|
|
|
[dev-dependencies]
|
|
assert_cmd = { version = "2.0.8" }
|
|
ureq = { version = "2.6.2", features = [] }
|
|
|
|
[features]
|
|
jupyter_notebook = ["ruff/jupyter_notebook"]
|
|
|
|
[package.metadata.maturin]
|
|
name = "ruff"
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
mimalloc = "0.1.34"
|
|
|
|
[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 = "0.5.0"
|