From 0dabcf0044e9df1b426153cb50aeff72146c3b42 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 28 Aug 2021 20:41:22 +0300 Subject: [PATCH] remove unused serde feature from smol_str --- Cargo.lock | 4 ---- crates/syntax/Cargo.toml | 3 +-- crates/tt/Cargo.toml | 4 +--- 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 25f1f1cb7e..72ea4446d4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1503,9 +1503,6 @@ name = "smol_str" version = "0.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b203e79e90905594272c1c97c7af701533d42adaab0beb3859018e477d54a3b0" -dependencies = [ - "serde", -] [[package]] name = "snap" @@ -1572,7 +1569,6 @@ dependencies = [ "rowan", "rustc-ap-rustc_lexer", "rustc-hash", - "serde", "smol_str", "sourcegen", "stdx", diff --git a/crates/syntax/Cargo.toml b/crates/syntax/Cargo.toml index 485b618941..0b2134705b 100644 --- a/crates/syntax/Cargo.toml +++ b/crates/syntax/Cargo.toml @@ -18,8 +18,7 @@ rustc-hash = "1.1.0" arrayvec = "0.7" once_cell = "1.3.1" indexmap = "1.4.0" -smol_str = { version = "0.1.15", features = ["serde"] } -serde = { version = "1.0.106", features = ["derive"] } +smol_str = "0.1.15" stdx = { path = "../stdx", version = "0.0.0" } text_edit = { path = "../text_edit", version = "0.0.0" } diff --git a/crates/tt/Cargo.toml b/crates/tt/Cargo.toml index ee8146db87..e24a9998c7 100644 --- a/crates/tt/Cargo.toml +++ b/crates/tt/Cargo.toml @@ -9,8 +9,6 @@ edition = "2018" doctest = false [dependencies] -# ideally, `serde` should be enabled by `rust-analyzer`, but we enable it here -# to reduce number of compilations -smol_str = { version = "0.1.15", features = ["serde"] } +smol_str = "0.1" stdx = { path = "../stdx", version = "0.0.0" }