From 676e82bb833dcf0e34f8d12e9f8a870ac92beae3 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 23 Jun 2020 17:01:44 +0200 Subject: [PATCH] Remove relative-path dependency --- Cargo.lock | 2 -- crates/rust-analyzer/Cargo.toml | 1 - crates/test_utils/Cargo.toml | 3 +-- crates/test_utils/src/lib.rs | 1 - 4 files changed, 1 insertion(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d909bc3d5e..c91236fc68 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1407,7 +1407,6 @@ dependencies = [ "ra_tt", "ra_vfs", "rand", - "relative-path", "rustc-hash", "serde", "serde_json", @@ -1677,7 +1676,6 @@ version = "0.1.0" dependencies = [ "difference", "ra_cfg", - "relative-path", "rustc-hash", "serde_json", "stdx", diff --git a/crates/rust-analyzer/Cargo.toml b/crates/rust-analyzer/Cargo.toml index 2b46e8905b..f289a02f68 100644 --- a/crates/rust-analyzer/Cargo.toml +++ b/crates/rust-analyzer/Cargo.toml @@ -24,7 +24,6 @@ lsp-types = { version = "0.74.0", features = ["proposed"] } parking_lot = "0.10.0" pico-args = "0.3.1" rand = { version = "0.7.3", features = ["small_rng"] } -relative-path = "1.0.0" rustc-hash = "1.1.0" serde = { version = "1.0.106", features = ["derive"] } serde_json = "1.0.48" diff --git a/crates/test_utils/Cargo.toml b/crates/test_utils/Cargo.toml index 8840bf36ae..afd2005f82 100644 --- a/crates/test_utils/Cargo.toml +++ b/crates/test_utils/Cargo.toml @@ -11,8 +11,7 @@ doctest = false difference = "2.0.0" text-size = "1.0.0" serde_json = "1.0.48" -relative-path = "1.0.0" rustc-hash = "1.1.0" ra_cfg = { path = "../ra_cfg" } -stdx = { path = "../stdx" } \ No newline at end of file +stdx = { path = "../stdx" } diff --git a/crates/test_utils/src/lib.rs b/crates/test_utils/src/lib.rs index b1333cf157..fd917e43bb 100644 --- a/crates/test_utils/src/lib.rs +++ b/crates/test_utils/src/lib.rs @@ -19,7 +19,6 @@ use stdx::split1; use text_size::{TextRange, TextSize}; pub use ra_cfg::CfgOptions; -pub use relative_path::{RelativePath, RelativePathBuf}; pub use rustc_hash::FxHashMap; pub use difference::Changeset as __Changeset;