Unnamed repository; edit this file 'description' to name the repository.
Clean up `rustc-literal-escaper` usage in rust-analyzer
| -rw-r--r-- | Cargo.lock | 1 | ||||
| -rw-r--r-- | Cargo.toml | 1 | ||||
| -rw-r--r-- | crates/parser/Cargo.toml | 2 | ||||
| -rw-r--r-- | crates/syntax/Cargo.toml | 4 |
4 files changed, 3 insertions, 5 deletions
diff --git a/Cargo.lock b/Cargo.lock index be63911526..745a8097c8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1985,7 +1985,6 @@ dependencies = [ "indexmap", "itertools", "parser", - "ra-ap-rustc_lexer", "rayon", "rowan", "rustc-hash 2.0.0", diff --git a/Cargo.toml b/Cargo.toml index ce2d66000e..e221913976 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -136,6 +136,7 @@ pulldown-cmark-to-cmark = "10.0.4" pulldown-cmark = { version = "0.9.0", default-features = false } rayon = "1.8.0" rustc-hash = "2.0.0" +rustc-literal-escaper = "0.0.2" semver = "1.0.14" serde = { version = "1.0.192" } serde_derive = { version = "1.0.192" } diff --git a/crates/parser/Cargo.toml b/crates/parser/Cargo.toml index 40c1e9fa7b..114a66add6 100644 --- a/crates/parser/Cargo.toml +++ b/crates/parser/Cargo.toml @@ -14,7 +14,7 @@ rust-version.workspace = true [dependencies] drop_bomb = "0.1.5" ra-ap-rustc_lexer.workspace = true -rustc-literal-escaper = "0.0.2" +rustc-literal-escaper.workspace = true tracing = { workspace = true, optional = true } edition.workspace = true diff --git a/crates/syntax/Cargo.toml b/crates/syntax/Cargo.toml index 23e1917922..6b35639820 100644 --- a/crates/syntax/Cargo.toml +++ b/crates/syntax/Cargo.toml @@ -17,14 +17,12 @@ either.workspace = true itertools.workspace = true rowan = "=0.15.15" rustc-hash.workspace = true -rustc-literal-escaper = "0.0.2" +rustc-literal-escaper.workspace = true indexmap.workspace = true smol_str.workspace = true triomphe.workspace = true tracing.workspace = true -ra-ap-rustc_lexer.workspace = true - parser.workspace = true stdx.workspace = true |