chore: Move workspace dependencies to workspace.dependencies (#7454)

We should prefer referring to local deps via `.workspace = true` from
now on.

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz 2024-02-06 20:41:36 +01:00 committed by GitHub
parent 70e7ea365c
commit 743f9b345f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
74 changed files with 972 additions and 888 deletions

View file

@ -9,11 +9,11 @@ license = "GPL-3.0-or-later"
path = "src/fs.rs"
[dependencies]
collections = { path = "../collections" }
rope = { path = "../rope" }
text = { path = "../text" }
util = { path = "../util" }
sum_tree = { path = "../sum_tree" }
collections.workspace = true
rope.workspace = true
text.workspace = true
util.workspace = true
sum_tree.workspace = true
anyhow.workspace = true
async-trait.workspace = true
@ -31,16 +31,16 @@ log.workspace = true
libc = "0.2"
time.workspace = true
gpui = { path = "../gpui", optional = true}
gpui = { workspace = true, optional = true}
[target.'cfg(target_os = "macos")'.dependencies]
fsevent = { path = "../fsevent" }
fsevent.workspace = true
[target.'cfg(not(target_os = "macos"))'.dependencies]
notify = "6.1.1"
[dev-dependencies]
gpui = { path = "../gpui", features = ["test-support"] }
gpui = { workspace = true, features = ["test-support"] }
[features]
test-support = ["gpui/test-support"]