Skip to content

Commit 6f5701b

Browse files
committed
Add an alias for the old serde feature
1 parent e7f269f commit 6f5701b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ kv_sval = ["kv", "value-bag/sval", "sval", "sval_ref"]
4141
kv_std = ["std", "kv", "value-bag/error"]
4242
kv_serde = ["kv_std", "value-bag/serde", "serde_core"]
4343

44+
# This is here to not break backwards compatibility with the implicit feature
45+
# that enables support for serde based on the dependency name. Since we're now
46+
# using serde_core, the implicit feature was renamed, this adds back an alias.
47+
serde = ["serde_core"]
48+
4449
# Deprecated: use `kv_*` instead
4550
# These `*_unstable` features will be removed in a future release
4651
kv_unstable = ["kv", "value-bag"]

0 commit comments

Comments
 (0)