Unnamed repository; edit this file 'description' to name the repository.
Use crossbeam-channel from the workspace
mo8it 2024-08-10
parent 3b560a5 · commit 0b541eb
-rw-r--r--crates/ide-db/Cargo.toml2
-rw-r--r--crates/rust-analyzer/Cargo.toml16
-rw-r--r--crates/stdx/Cargo.toml2
-rw-r--r--crates/vfs-notify/Cargo.toml2
-rw-r--r--lib/lsp-server/Cargo.toml4
5 files changed, 13 insertions, 13 deletions
diff --git a/crates/ide-db/Cargo.toml b/crates/ide-db/Cargo.toml
index 6714a99f80..8f3cae2fa1 100644
--- a/crates/ide-db/Cargo.toml
+++ b/crates/ide-db/Cargo.toml
@@ -14,7 +14,7 @@ doctest = false
[dependencies]
cov-mark = "2.0.0-pre.1"
-crossbeam-channel = "0.5.5"
+crossbeam-channel.workspace = true
tracing.workspace = true
rayon.workspace = true
fst = { version = "0.4.7", default-features = false }
diff --git a/crates/rust-analyzer/Cargo.toml b/crates/rust-analyzer/Cargo.toml
index f0878b25dd..eb95f42d75 100644
--- a/crates/rust-analyzer/Cargo.toml
+++ b/crates/rust-analyzer/Cargo.toml
@@ -21,7 +21,7 @@ path = "src/bin/main.rs"
[dependencies]
anyhow.workspace = true
-crossbeam-channel = "0.5.5"
+crossbeam-channel.workspace = true
dirs = "5.0.1"
dissimilar.workspace = true
itertools.workspace = true
@@ -90,13 +90,13 @@ jemalloc = ["jemallocator", "profile/jemalloc"]
force-always-assert = ["always-assert/force"]
sysroot-abi = []
in-rust-tree = [
- "sysroot-abi",
- "syntax/in-rust-tree",
- "parser/in-rust-tree",
- "hir/in-rust-tree",
- "hir-def/in-rust-tree",
- "hir-ty/in-rust-tree",
- "load-cargo/in-rust-tree",
+ "sysroot-abi",
+ "syntax/in-rust-tree",
+ "parser/in-rust-tree",
+ "hir/in-rust-tree",
+ "hir-def/in-rust-tree",
+ "hir-ty/in-rust-tree",
+ "load-cargo/in-rust-tree",
]
[lints]
diff --git a/crates/stdx/Cargo.toml b/crates/stdx/Cargo.toml
index 77c9f3cb14..bf0d6df9ad 100644
--- a/crates/stdx/Cargo.toml
+++ b/crates/stdx/Cargo.toml
@@ -17,7 +17,7 @@ backtrace = { version = "0.3.67", optional = true }
always-assert = { version = "0.2.0", features = ["tracing"] }
jod-thread = "0.1.2"
libc.workspace = true
-crossbeam-channel = "0.5.5"
+crossbeam-channel.workspace = true
itertools.workspace = true
# Think twice before adding anything here
diff --git a/crates/vfs-notify/Cargo.toml b/crates/vfs-notify/Cargo.toml
index d2f7079915..09296dc6dd 100644
--- a/crates/vfs-notify/Cargo.toml
+++ b/crates/vfs-notify/Cargo.toml
@@ -15,7 +15,7 @@ doctest = false
[dependencies]
tracing.workspace = true
walkdir = "2.3.2"
-crossbeam-channel = "0.5.5"
+crossbeam-channel.workspace = true
notify = "6.1.1"
rayon = "1.10.0"
diff --git a/lib/lsp-server/Cargo.toml b/lib/lsp-server/Cargo.toml
index a89eb4b144..fb3411c8ab 100644
--- a/lib/lsp-server/Cargo.toml
+++ b/lib/lsp-server/Cargo.toml
@@ -10,11 +10,11 @@ edition = "2021"
log = "0.4.17"
serde_json = "1.0.108"
serde = { version = "1.0.192", features = ["derive"] }
-crossbeam-channel = "0.5.8"
+crossbeam-channel.workspace = true
[dev-dependencies]
lsp-types = "=0.95"
ctrlc = "3.4.1"
[lints]
-workspace = true \ No newline at end of file
+workspace = true