Disconnect library crate dependencies from workspace dependencies

This commit is contained in:
Lukas Wirth 2023-06-22 11:50:52 +02:00
parent 0953e85b59
commit e5c65071bc
4 changed files with 18 additions and 18 deletions

24
Cargo.lock generated
View file

@ -959,22 +959,22 @@ checksum = "b06a4cde4c0f271a446782e3eff8de789548ce57dbc8eca9292c27f4a42004b4"
[[package]]
name = "lsp-server"
version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3711e4d6f491dc9edc0f1df80e204f38206775ac92c1241e89b79229a850bc00"
dependencies = [
"crossbeam-channel",
"log",
"lsp-types",
"serde",
"serde_json",
]
[[package]]
name = "lsp-server"
version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3711e4d6f491dc9edc0f1df80e204f38206775ac92c1241e89b79229a850bc00"
version = "0.7.2"
dependencies = [
"crossbeam-channel",
"log",
"lsp-types",
"serde",
"serde_json",
]
@ -1513,7 +1513,7 @@ dependencies = [
"ide-db",
"ide-ssr",
"itertools",
"lsp-server 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
"lsp-server 0.7.1",
"lsp-types",
"mbe",
"mimalloc",
@ -1638,22 +1638,22 @@ dependencies = [
[[package]]
name = "serde"
version = "1.0.164"
version = "1.0.156"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9e8c8cf938e98f769bc164923b06dce91cea1751522f46f8466461af04c9027d"
checksum = "314b5b092c0ade17c00142951e50ced110ec27cea304b1037c6969246c2469a4"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
version = "1.0.164"
version = "1.0.156"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d9735b638ccc51c28bf6914d90a2e9725b377144fc612c49a611fddd1b631d68"
checksum = "d7e29c4601e36bcec74a223228dce795f4cd3616341a4af93520ca1a837c087d"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.18",
"syn 1.0.109",
]
[[package]]
@ -1934,9 +1934,9 @@ dependencies = [
[[package]]
name = "tracing-attributes"
version = "0.1.24"
version = "0.1.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0f57e3ca2a01450b1a921183a9c9cbfda207fd822cef4ccb00a65402cbba7a74"
checksum = "5f4f31f56159e98206da9efd823404b79b6ef3143b4a7ab76e67b1751b25a4ab"
dependencies = [
"proc-macro2",
"quote",

View file

@ -94,7 +94,7 @@ smallvec = { version = "1.10.0", features = [
smol_str = "0.2.0"
nohash-hasher = "0.2.0"
text-size = "1.1.0"
serde = { version = "1.0.160", features = ["derive"] }
serde = { version = "1.0.156", features = ["derive"] }
serde_json = "1.0.96"
triomphe = { version = "0.1.8", default-features = false, features = ["std"] }
# can't upgrade due to dashmap depending on 0.12.3 currently

View file

@ -7,5 +7,5 @@ repository = "https://github.com/rust-lang/rust-analyzer/tree/master/lib/line-in
edition = "2021"
[dependencies]
text-size.workspace = true
nohash-hasher.workspace = true
text-size = "1.1.0"
nohash-hasher = "0.2.0"

View file

@ -1,6 +1,6 @@
[package]
name = "lsp-server"
version = "0.7.1"
version = "0.7.2"
description = "Generic LSP server scaffold."
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/rust-analyzer/tree/master/lib/lsp-server"
@ -8,8 +8,8 @@ edition = "2021"
[dependencies]
log = "0.4.17"
serde_json.workspace = true
serde.workspace = true
serde_json = "1.0.96"
serde = "1.0.156"
crossbeam-channel = "0.5.6"
[dev-dependencies]