From becaf4b58b5a3304b71eeb7cf7703c406c5d9d18 Mon Sep 17 00:00:00 2001 From: DaniPopes <57450786+DaniPopes@users.noreply.github.com> Date: Sun, 14 Sep 2025 04:05:54 +0200 Subject: [PATCH] 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. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index e7c246649..e8d93059d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,7 @@ default = ["std"] std = [] [dependencies] -serde = { version = "1.0.60", optional = true, default-features = false, features = ["alloc"] } +serde = { package = "serde_core", version = "1.0.220", optional = true, default-features = false, features = ["alloc"] } # Use portable-atomic crate to support platforms without atomic CAS. # See "no_std support" section in readme for more information. #