Skip to content

Commit d7d6d8a

Browse files
committed
Use new optional dependency feature syntax making serde truly optional
1 parent a9a54f2 commit d7d6d8a

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)