fix: make serde feature no_std (#1730)

Co-authored-by: Jay White <JayWhite2357@users.noreply.github.com>
This commit is contained in:
Ian Alexander Joiner 2025-02-21 01:18:51 -05:00 committed by GitHub
parent 339239d0c5
commit 28736da235
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -49,7 +49,7 @@ bigdecimal = { version = "0.4.1", features = ["serde"], optional = true }
log = "0.4"
recursive = { version = "0.1.1", optional = true}
serde = { version = "1.0", features = ["derive"], optional = true }
serde = { version = "1.0", default-features = false, features = ["derive", "alloc"], optional = true }
# serde_json is only used in examples/cli, but we have to put it outside
# of dev-dependencies because of
# https://github.com/rust-lang/cargo/issues/1596