mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-03 10:22:24 +00:00

For now, the only thing one can configure is whether color is enabled or not. This avoids needing to ask the `colored` crate whether colors have been globally enabled or disabled. And, more crucially, avoids the need to _set_ this global flag for testing diagnostic output. Doing so can have unintended consequences, as outlined in #16115. Fixes #16115
57 lines
1.7 KiB
TOML
57 lines
1.7 KiB
TOML
[package]
|
|
name = "ruff_db"
|
|
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_annotate_snippets = { workspace = true }
|
|
ruff_cache = { workspace = true, optional = true }
|
|
ruff_notebook = { workspace = true }
|
|
ruff_python_ast = { workspace = true }
|
|
ruff_python_parser = { workspace = true }
|
|
ruff_python_trivia = { workspace = true }
|
|
ruff_source_file = { workspace = true }
|
|
ruff_text_size = { workspace = true }
|
|
|
|
camino = { workspace = true }
|
|
countme = { workspace = true }
|
|
dashmap = { workspace = true }
|
|
dunce = { workspace = true }
|
|
filetime = { workspace = true }
|
|
glob = { workspace = true }
|
|
ignore = { workspace = true, optional = true }
|
|
matchit = { workspace = true }
|
|
salsa = { workspace = true }
|
|
schemars = { workspace = true, optional = true }
|
|
serde = { workspace = true, optional = true }
|
|
path-slash = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
tracing = { workspace = true }
|
|
tracing-subscriber = { workspace = true, optional = true }
|
|
tracing-tree = { workspace = true, optional = true }
|
|
rustc-hash = { workspace = true }
|
|
zip = { workspace = true }
|
|
|
|
[target.'cfg(target_arch="wasm32")'.dependencies]
|
|
web-time = { version = "1.1.0" }
|
|
|
|
[target.'cfg(not(target_arch="wasm32"))'.dependencies]
|
|
etcetera = { workspace = true, optional = true }
|
|
|
|
[dev-dependencies]
|
|
insta = { workspace = true }
|
|
tempfile = { workspace = true }
|
|
|
|
[features]
|
|
cache = ["ruff_cache"]
|
|
os = ["ignore", "dep:etcetera"]
|
|
serde = ["dep:serde", "camino/serde1"]
|
|
# Exposes testing utilities.
|
|
testing = ["tracing-subscriber", "tracing-tree"]
|