mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 18:58:26 +00:00
Make all dependencies workspace dependencies (#9333)
## 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.
This commit is contained in:
parent
0157cdb81a
commit
9073220887
20 changed files with 148 additions and 93 deletions
|
@ -13,14 +13,14 @@ license = { workspace = true }
|
|||
|
||||
[dependencies]
|
||||
bitflags = { workspace = true }
|
||||
hexf-parse = "0.2.1"
|
||||
is-macro.workspace = true
|
||||
hexf-parse = { workspace = true }
|
||||
is-macro = { workspace = true }
|
||||
itertools = { workspace = true }
|
||||
lexical-parse-float = { version = "0.8.0", features = ["format"] }
|
||||
unic-ucd-category = "0.9"
|
||||
lexical-parse-float = { workspace = true, features = ["format"] }
|
||||
unic-ucd-category = { workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
rand = "0.8.5"
|
||||
rand = { workspace = true }
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue