mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 02:38:25 +00:00

## Summary This matches the setup we use in `uv` and allows for consistency in the `Cargo.toml` files.
37 lines
950 B
TOML
37 lines
950 B
TOML
[package]
|
|
name = "ruff_formatter"
|
|
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_cache = { workspace = true }
|
|
ruff_macros = { workspace = true }
|
|
ruff_text_size = { workspace = true }
|
|
|
|
drop_bomb = { workspace = true }
|
|
rustc-hash = { workspace = true }
|
|
schemars = { workspace = true, optional = true }
|
|
serde = { workspace = true, optional = true }
|
|
static_assertions = { workspace = true }
|
|
tracing = { workspace = true }
|
|
unicode-width = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
|
|
[package.metadata.cargo-shear]
|
|
# Used via `CacheKey` macro expansion.
|
|
ignored = ["ruff_cache"]
|
|
|
|
[features]
|
|
serde = ["dep:serde", "ruff_text_size/serde"]
|
|
schemars = ["dep:schemars", "ruff_text_size/schemars"]
|
|
|
|
[lints]
|
|
workspace = true
|