Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'lib/smol_str/Cargo.toml')
| -rw-r--r-- | lib/smol_str/Cargo.toml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/smol_str/Cargo.toml b/lib/smol_str/Cargo.toml index e89e0e8e02..d938e40ac2 100644 --- a/lib/smol_str/Cargo.toml +++ b/lib/smol_str/Cargo.toml @@ -12,7 +12,7 @@ rustdoc-args = ["--cfg", "docsrs"] all-features = true [dependencies] -serde = { version = "1.0", optional = true, default-features = false } +serde_core = { version = "1.0.220", optional = true, default-features = false } borsh = { version = "1.4.0", optional = true, default-features = false } arbitrary = { version = "1.3", optional = true } @@ -23,4 +23,5 @@ serde = { version = "1.0", features = ["derive"] } [features] default = ["std"] -std = ["serde?/std", "borsh?/std"] +std = ["serde_core?/std", "borsh?/std"] +serde = ["dep:serde_core"] |