Skip to content

Commit dcd6fe7

Browse files
committed
Depend on serde_core instead of serde
This crate does not make use of serde derive macros, thus it can depend on `serde_core` instead of `serde` to speed up users' compile times. See the documentation of [`serde_core`](https://docs.rs/serde_core) for more details.
1 parent 4b53a29 commit dcd6fe7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ default = ["std"]
2323
std = []
2424

2525
[dependencies]
26-
serde = { version = "1.0.60", optional = true, default-features = false, features = ["alloc"] }
26+
serde = { package = "serde_core", version = "1.0.221", optional = true, default-features = false, features = ["alloc"] }
2727
# Use portable-atomic crate to support platforms without atomic CAS.
2828
# See "no_std support" section in readme for more information.
2929
#

0 commit comments

Comments
 (0)