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

## Summary This PR modifies our `Cargo.toml` files to use workspace dependencies for _all_ dependencies, rather than the status quo of sporadically trying to use workspace dependencies for those dependencies that are used across multiple crates. I find the current situation more confusing and harder to manage, since we have a mix of workspace and crate-local dependencies, whereas this setup consistently uses the same approach for all dependencies.
25 lines
454 B
TOML
25 lines
454 B
TOML
[package]
|
|
name = "ruff_text_size"
|
|
version = "0.0.0"
|
|
publish = false
|
|
edition = "2021"
|
|
rust-version = "1.67.1"
|
|
|
|
[dependencies]
|
|
serde = { workspace = true, optional = true }
|
|
schemars = { workspace = true, optional = true }
|
|
|
|
[dev-dependencies]
|
|
serde_test = { workspace = true }
|
|
static_assertions = { workspace = true }
|
|
|
|
[features]
|
|
serde = ["dep:serde"]
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[[test]]
|
|
name = "serde"
|
|
path = "tests/serde.rs"
|
|
required-features = ["serde"]
|