mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-26 11:59:10 +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
634 B
TOML
25 lines
634 B
TOML
[package]
|
|
name = "ruff_python_index"
|
|
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 }
|
|
|
|
[lib]
|
|
|
|
[dependencies]
|
|
ruff_python_ast = { path = "../ruff_python_ast" }
|
|
ruff_python_parser = { path = "../ruff_python_parser" }
|
|
ruff_python_trivia = { path = "../ruff_python_trivia" }
|
|
ruff_source_file = { path = "../ruff_source_file" }
|
|
ruff_text_size = { path = "../ruff_text_size" }
|
|
|
|
[dev-dependencies]
|
|
|
|
[lints]
|
|
workspace = true
|