Skip to content

Commit 4b28ad9

Browse files
committed
Make text-size a workspace dep
1 parent 85dd7b2 commit 4b28ad9

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ line-index = { version = "0.1.0", path = "./lib/line-index" }
8080
smallvec = { version = "1.10.0", features = ["const_new", "union", "const_generics"] }
8181
smol_str = "0.2.0"
8282
nohash-hasher = "0.2.0"
83+
text-size = "1.1.0"
8384
# the following crates are pinned to prevent us from pulling in syn 2 until all our dependencies have moved
8485
serde = { version = "=1.0.156", features = ["derive"] }
8586
serde_json = "1.0.94"

crates/test-utils/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ doctest = false
1414
[dependencies]
1515
# Avoid adding deps here, this crate is widely used in tests it should compile fast!
1616
dissimilar = "1.0.4"
17-
text-size = "1.1.0"
17+
text-size.workspace = true
1818
rustc-hash = "1.1.0"
1919

2020
stdx.workspace = true

crates/text-edit/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ doctest = false
1313

1414
[dependencies]
1515
itertools = "0.10.5"
16-
text-size = "1.1.0"
16+
text-size.workspace = true

lib/line-index/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ repository = "https://github.com/rust-lang/rust-analyzer/tree/master/lib/line-in
77
edition = "2021"
88

99
[dependencies]
10-
text-size = "1"
10+
text-size.workspace = true
1111
nohash-hasher.workspace = true

0 commit comments

Comments
 (0)