Skip to content

Commit

Permalink
Use optional dependency feature syntax to make serde actually optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Veykril committed Mar 30, 2023
1 parent 9cb9f3b commit 456160c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "smol_str"
version = "0.1.24"
version = "0.1.25"
description = "small-string optimized string type with O(1) clone"
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-analyzer/smol_str"
Expand All @@ -18,4 +18,4 @@ serde = { version = "1.0.136", features = ["derive"] }

[features]
default = ["std"]
std = ["serde/std"]
std = ["serde?/std"]

0 comments on commit 456160c

Please sign in to comment.