From 74d0ff5cc1915978a0cf9c068380484cf6db4491 Mon Sep 17 00:00:00 2001 From: al8n Date: Sun, 19 Jan 2025 18:20:20 +0800 Subject: [PATCH] bumpup rkyv version --- Cargo.toml | 1 + core/Cargo.toml | 8 +------- types/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6a78438..6a2dc40 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -58,6 +58,7 @@ pin-project = "1" scopeguard = "1" serde = { version = "1", features = ["derive", "rc"] } humantime-serde = "1" +rkyv = { version = "0.8", features = ["smol_str-0_3", "bytes-1"] } smallvec = "1" smallvec-wrapper = { version = "0.2", features = ["const_new", "either"] } smol_str = "0.3" diff --git a/core/Cargo.toml b/core/Cargo.toml index 11a5d7b..cb914ca 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -70,13 +70,7 @@ tracing.workspace = true viewit.workspace = true base64 = { version = "0.22", optional = true } - -# rkyv feature -rkyv = { version = "0.7", features = [ - "validation", - "bytes", - "smol_str", -], optional = true } +rkyv = { workspace = true, optional = true } # serde feature serde = { workspace = true, optional = true } diff --git a/types/Cargo.toml b/types/Cargo.toml index aea5d8b..3060ba4 100644 --- a/types/Cargo.toml +++ b/types/Cargo.toml @@ -54,7 +54,7 @@ metrics = { workspace = true, optional = true } serde = { workspace = true, optional = true } base64 = { version = "0.22", optional = true } -rkyv = { version = "0.8", optional = true, features = ["smol_str-0_3", "bytes-1"] } +rkyv = { workspace = true, optional = true } [dev-dependencies] rand = "0.8"