[package] name = "ruff_linter" version = "0.0.290" publish = false authors = { workspace = true } edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } documentation = { workspace = true } repository = { workspace = true } license = { workspace = true } [lib] [dependencies] ruff_cache = { path = "../ruff_cache" } ruff_diagnostics = { path = "../ruff_diagnostics", features = ["serde"] } ruff_index = { path = "../ruff_index" } ruff_notebook = { path = "../ruff_notebook" } ruff_macros = { path = "../ruff_macros" } ruff_python_ast = { path = "../ruff_python_ast", features = ["serde"] } ruff_python_codegen = { path = "../ruff_python_codegen" } ruff_python_index = { path = "../ruff_python_index" } ruff_python_literal = { path = "../ruff_python_literal" } ruff_python_semantic = { path = "../ruff_python_semantic" } ruff_python_stdlib = { path = "../ruff_python_stdlib" } ruff_python_trivia = { path = "../ruff_python_trivia" } ruff_python_parser = { path = "../ruff_python_parser" } ruff_source_file = { path = "../ruff_source_file", features = ["serde"] } ruff_text_size = { path = "../ruff_text_size" } annotate-snippets = { version = "0.9.1", features = ["color"] } anyhow = { workspace = true } bitflags = { workspace = true } chrono = { workspace = true } clap = { workspace = true, features = ["derive", "string"], optional = true } colored = { workspace = true } fern = { version = "0.6.1" } glob = { workspace = true } globset = { workspace = true } imperative = { version = "1.0.4" } is-macro = { workspace = true } itertools = { workspace = true } libcst = { workspace = true } log = { workspace = true } memchr = { workspace = true } natord = { version = "1.0.9" } num-bigint = { workspace = true } num-traits = { workspace = true } once_cell = { workspace = true } path-absolutize = { workspace = true, features = [ "once_cell_cache", "use_unix_paths_on_wasm", ] } pathdiff = { version = "0.2.1" } pep440_rs = { version = "0.3.1", features = ["serde"] } pyproject-toml = { version = "0.7.0" } quick-junit = { version = "0.3.2" } regex = { workspace = true } result-like = { version = "0.4.6" } rustc-hash = { workspace = true } schemars = { workspace = true, optional = true } semver = { version = "1.0.16" } serde = { workspace = true } serde_json = { workspace = true } similar = { workspace = true } smallvec = { workspace = true } strum = { workspace = true } strum_macros = { workspace = true } thiserror = { workspace = true } toml = { workspace = true } typed-arena = { version = "2.0.2" } unicode-width = { workspace = true } unicode_names2 = { version = "0.6.0", git = "https://github.com/youknowone/unicode_names2.git", rev = "4ce16aa85cbcdd9cc830410f1a72ef9a235f2fde" } wsl = { version = "0.1.0" } [dev-dependencies] insta = { workspace = true } pretty_assertions = "1.3.0" test-case = { workspace = true } # Disable colored output in tests colored = { workspace = true, features = ["no-color"] } tempfile = "3.6.0" [features] default = [] schemars = ["dep:schemars"] # Enables the UnreachableCode rule unreachable-code = []