mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-12 13:18:47 +00:00
remove unused serde feature from smol_str
This commit is contained in:
parent
55e9476e4b
commit
0dabcf0044
3 changed files with 2 additions and 9 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -1503,9 +1503,6 @@ name = "smol_str"
|
||||||
version = "0.1.18"
|
version = "0.1.18"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "b203e79e90905594272c1c97c7af701533d42adaab0beb3859018e477d54a3b0"
|
checksum = "b203e79e90905594272c1c97c7af701533d42adaab0beb3859018e477d54a3b0"
|
||||||
dependencies = [
|
|
||||||
"serde",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "snap"
|
name = "snap"
|
||||||
|
@ -1572,7 +1569,6 @@ dependencies = [
|
||||||
"rowan",
|
"rowan",
|
||||||
"rustc-ap-rustc_lexer",
|
"rustc-ap-rustc_lexer",
|
||||||
"rustc-hash",
|
"rustc-hash",
|
||||||
"serde",
|
|
||||||
"smol_str",
|
"smol_str",
|
||||||
"sourcegen",
|
"sourcegen",
|
||||||
"stdx",
|
"stdx",
|
||||||
|
|
|
@ -18,8 +18,7 @@ rustc-hash = "1.1.0"
|
||||||
arrayvec = "0.7"
|
arrayvec = "0.7"
|
||||||
once_cell = "1.3.1"
|
once_cell = "1.3.1"
|
||||||
indexmap = "1.4.0"
|
indexmap = "1.4.0"
|
||||||
smol_str = { version = "0.1.15", features = ["serde"] }
|
smol_str = "0.1.15"
|
||||||
serde = { version = "1.0.106", features = ["derive"] }
|
|
||||||
|
|
||||||
stdx = { path = "../stdx", version = "0.0.0" }
|
stdx = { path = "../stdx", version = "0.0.0" }
|
||||||
text_edit = { path = "../text_edit", version = "0.0.0" }
|
text_edit = { path = "../text_edit", version = "0.0.0" }
|
||||||
|
|
|
@ -9,8 +9,6 @@ edition = "2018"
|
||||||
doctest = false
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
# ideally, `serde` should be enabled by `rust-analyzer`, but we enable it here
|
smol_str = "0.1"
|
||||||
# to reduce number of compilations
|
|
||||||
smol_str = { version = "0.1.15", features = ["serde"] }
|
|
||||||
|
|
||||||
stdx = { path = "../stdx", version = "0.0.0" }
|
stdx = { path = "../stdx", version = "0.0.0" }
|
||||||
|
|
Loading…
Reference in a new issue