Move sub-crates to workspace dependencies (#11407)

## Summary

This matches the setup we use in `uv` and allows for consistency in the
`Cargo.toml` files.
This commit is contained in:
Charlie Marsh 2024-05-13 10:37:50 -04:00 committed by GitHub
parent b371713591
commit af60d539ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 155 additions and 133 deletions

View file

@ -13,8 +13,8 @@ license = { workspace = true }
[lib]
[dependencies]
ruff_python_ast = { path = "../ruff_python_ast" }
ruff_text_size = { path = "../ruff_text_size" }
ruff_python_ast = { workspace = true }
ruff_text_size = { workspace = true }
anyhow = { workspace = true }
bitflags = { workspace = true }
@ -29,7 +29,7 @@ unicode_names2 = { workspace = true }
unicode-normalization = { workspace = true }
[dev-dependencies]
ruff_source_file = { path = "../ruff_source_file" }
ruff_source_file = { workspace = true }
annotate-snippets = { workspace = true }
insta = { workspace = true, features = ["glob"] }