diff options
| author | Ariel Davis <ariel.z.davis@icloud.com> | 2023-05-03 23:52:58 -0700 |
|---|---|---|
| committer | Ariel Davis <ariel.z.davis@icloud.com> | 2023-05-06 00:49:23 -0700 |
| commit | 4b28ad92e99d7bc60f79ceea56082553b6fead7e (patch) | |
| tree | b8361401920f5151ad22abbf9e57a2e8d21f8d07 | |
| parent | 85dd7b22b4f7c25b5be48dc477f85f84575cf6b5 (diff) | |
| download | rust-4b28ad92e99d7bc60f79ceea56082553b6fead7e.tar.gz rust-4b28ad92e99d7bc60f79ceea56082553b6fead7e.zip | |
Make text-size a workspace dep
| -rw-r--r-- | Cargo.toml | 1 | ||||
| -rw-r--r-- | crates/test-utils/Cargo.toml | 2 | ||||
| -rw-r--r-- | crates/text-edit/Cargo.toml | 2 | ||||
| -rw-r--r-- | lib/line-index/Cargo.toml | 2 |
4 files changed, 4 insertions, 3 deletions
diff --git a/Cargo.toml b/Cargo.toml index a37b05f1211..123b06e0ccc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/crates/test-utils/Cargo.toml b/crates/test-utils/Cargo.toml index 92b1ef23e69..2b5b6f49561 100644 --- a/crates/test-utils/Cargo.toml +++ b/crates/test-utils/Cargo.toml @@ -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 diff --git a/crates/text-edit/Cargo.toml b/crates/text-edit/Cargo.toml index 337cd234739..76d0ca5ccb6 100644 --- a/crates/text-edit/Cargo.toml +++ b/crates/text-edit/Cargo.toml @@ -13,4 +13,4 @@ doctest = false [dependencies] itertools = "0.10.5" -text-size = "1.1.0" +text-size.workspace = true diff --git a/lib/line-index/Cargo.toml b/lib/line-index/Cargo.toml index bea9242ea6c..b08a55854e0 100644 --- a/lib/line-index/Cargo.toml +++ b/lib/line-index/Cargo.toml @@ -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 |
