Skip to content

Commit

Permalink
no_std compatible serde support
Browse files Browse the repository at this point in the history
Depend on serde using `default_features = false`, which makes the
dependency no_std compatible.
  • Loading branch information
kyren committed Jun 28, 2023
1 parent 6a5ba40 commit 0858a0a
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
Expand Up @@ -7,7 +7,7 @@ description = "HashMap-like containers that hold their key-value pairs in a user
repository = "https://github.com/kyren/hashlink"
documentation = "https://docs.rs/hashlink"
readme = "README.md"
keywords = ["data-structures"]
keywords = ["data-structures", "no_std"]
license = "MIT OR Apache-2.0"

[badges]
Expand All @@ -18,7 +18,7 @@ serde_impl = ["serde"]

[dependencies]
hashbrown = "0.14"
serde = { version = "1.0", optional = true }
serde = { version = "1.0", default_features = false, optional = true }

[dev-dependencies]
serde_test = "1.0"
Expand Down

0 comments on commit 0858a0a

Please sign in to comment.