From 2f6914824a7f0443f51d5bba56a926363da869df Mon Sep 17 00:00:00 2001 From: est31 Date: Sat, 4 Apr 2020 13:22:06 +0200 Subject: Remove rustc_lexer dependency in favour of rustc-ap-rustc_lexer The latter is auto-published on a regular schedule (Right now weekly). --- Cargo.lock | 20 ++++++++++---------- crates/ra_syntax/Cargo.toml | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d277d6cfd..4ec50498c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1132,8 +1132,8 @@ dependencies = [ "ra_parser", "ra_text_edit", "rowan", + "rustc-ap-rustc_lexer", "rustc-hash", - "rustc_lexer", "serde", "smol_str", "stdx", @@ -1335,6 +1335,15 @@ dependencies = [ "winapi 0.3.8", ] +[[package]] +name = "rustc-ap-rustc_lexer" +version = "652.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a6a43c4d0889218c5e2ae68ffea239f303fc05ab1078c73f74e63feb87f7889" +dependencies = [ + "unicode-xid", +] + [[package]] name = "rustc-demangle" version = "0.1.16" @@ -1347,15 +1356,6 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" -[[package]] -name = "rustc_lexer" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c86aae0c77166108c01305ee1a36a1e77289d7dc6ca0a3cd91ff4992de2d16a5" -dependencies = [ - "unicode-xid", -] - [[package]] name = "ryu" version = "1.0.3" diff --git a/crates/ra_syntax/Cargo.toml b/crates/ra_syntax/Cargo.toml index 3c6ae77e4..75a2f696e 100644 --- a/crates/ra_syntax/Cargo.toml +++ b/crates/ra_syntax/Cargo.toml @@ -13,7 +13,7 @@ doctest = false [dependencies] itertools = "0.9.0" rowan = "0.9.1" -rustc_lexer = "0.1.0" +rustc_lexer = { version = "652.0.0", package = "rustc-ap-rustc_lexer" } rustc-hash = "1.1.0" arrayvec = "0.5.1" once_cell = "1.3.1" -- cgit v1.2.3