Skip to content

Commit 4e6fdc3

Browse files
bors[bot]Veykril
andauthored
46: Use new optional dependency feature syntax making serde truly optional r=Veykril a=Veykril Fixes rust-analyzer/smol_str#42 bors r+ Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2 parents a9a54f2 + d7d6d8a commit 4e6fdc3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tools/rust-analyzer/lib/smol_str/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "smol_str"
3-
version = "0.1.21"
3+
version = "0.1.22"
44
description = "small-string optimized string type with O(1) clone"
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/rust-analyzer/smol_str"
@@ -18,4 +18,4 @@ serde = { version = "1.0.136", features = ["derive"] }
1818

1919
[features]
2020
default = ["std"]
21-
std = ["serde/std"]
21+
std = ["serde?/std"]

0 commit comments

Comments
 (0)