[package] name = "ruff_cli" version = "0.0.231" authors = ["Charlie Marsh "] edition = "2021" rust-version = "1.65.0" 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" path = "src/main.rs" doctest = false # 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 = ".." } annotate-snippets = { version = "0.9.1", features = ["color"] } anyhow = { version = "1.0.66" } atty = { version = "0.2.14" } bincode = { version = "1.3.3" } cachedir = { version = "0.3.0" } chrono = { version = "0.4.21", default-features = false, features = ["clock"] } clap = { version = "4.0.1", features = ["derive", "env"] } clap_complete_command = { version = "0.4.0" } clearscreen = { version = "2.0.0" } colored = { version = "2.0.0" } filetime = { version = "0.2.17" } glob = { version = "0.3.0" } ignore = { version = "0.4.18" } itertools = { version = "0.10.5" } log = { version = "0.4.17" } notify = { version = "5.0.0" } path-absolutize = { version = "3.0.14", features = ["once_cell_cache"] } quick-junit = { version = "0.3.2" } rayon = { version = "1.5.3" } regex = { version = "1.6.0" } rustc-hash = { version = "1.1.0" } serde = { version = "1.0.147", features = ["derive"] } serde_json = { version = "1.0.87" } similar = { version = "2.2.1" } textwrap = { version = "0.16.0" } update-informer = { version = "0.6.0", default-features = false, features = ["pypi"], optional = true } walkdir = { version = "2.3.2" } [dev-dependencies] assert_cmd = { version = "2.0.4" } strum = { version = "0.24.1" } ureq = { version = "2.5.0", features = [] } [features] default = ["update-informer"] update-informer = ["dep:update-informer"] [package.metadata.maturin] name = "ruff" # Setting the name here is necessary for maturin to include the package in its builds.