Make text-size a workspace dep

This commit is contained in:
Ariel Davis 2023-05-03 23:52:58 -07:00
parent 85dd7b22b4
commit 4b28ad92e9
4 changed files with 4 additions and 3 deletions

View file

@ -80,6 +80,7 @@ line-index = { version = "0.1.0", path = "./lib/line-index" }
smallvec = { version = "1.10.0", features = ["const_new", "union", "const_generics"] }
smol_str = "0.2.0"
nohash-hasher = "0.2.0"
text-size = "1.1.0"
# the following crates are pinned to prevent us from pulling in syn 2 until all our dependencies have moved
serde = { version = "=1.0.156", features = ["derive"] }
serde_json = "1.0.94"

View file

@ -14,7 +14,7 @@ doctest = false
[dependencies]
# Avoid adding deps here, this crate is widely used in tests it should compile fast!
dissimilar = "1.0.4"
text-size = "1.1.0"
text-size.workspace = true
rustc-hash = "1.1.0"
stdx.workspace = true

View file

@ -13,4 +13,4 @@ doctest = false
[dependencies]
itertools = "0.10.5"
text-size = "1.1.0"
text-size.workspace = true

View file

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