From 56e5d539928f71a4f8dc080e66238cc259240eb4 Mon Sep 17 00:00:00 2001 From: bunnie Date: Wed, 18 Sep 2024 12:35:37 +0800 Subject: [PATCH] update to rkyv 0.8.7 --- planning/rkyv-migration2/Cargo.lock | 8 ++++---- planning/rkyv-migration2/Cargo.toml | 2 +- planning/rkyv-migration2/src/buffer.rs | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/planning/rkyv-migration2/Cargo.lock b/planning/rkyv-migration2/Cargo.lock index da4300f03..7d51926c6 100644 --- a/planning/rkyv-migration2/Cargo.lock +++ b/planning/rkyv-migration2/Cargo.lock @@ -163,9 +163,9 @@ dependencies = [ [[package]] name = "rkyv" -version = "0.8.5" +version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c923eb995dc793cd26858a18f4bcce2df4b4a14a1ec767ea21a83b17b65f9aa" +checksum = "4cd40b3d7c5ebf1fd27409e7919fa1bc33031ba0a3272f71a79962227c19c014" dependencies = [ "bytecheck", "bytes", @@ -192,9 +192,9 @@ dependencies = [ [[package]] name = "rkyv_derive" -version = "0.8.5" +version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67fe1bd2d15adf4f037438696f8efe7ad1eae0b10d53bb0946d6a93faaf96051" +checksum = "aab86cc9c832a98f38a6381cd553def87dc9e952c0699ec788072d2e5aa494f9" dependencies = [ "proc-macro2", "quote", diff --git a/planning/rkyv-migration2/Cargo.toml b/planning/rkyv-migration2/Cargo.toml index cf7370140..8253d2efa 100644 --- a/planning/rkyv-migration2/Cargo.toml +++ b/planning/rkyv-migration2/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" edition = "2021" [dependencies] -rkyv = { version = "0.8.5", default-features = false, features = ["std", "alloc", "bytecheck"] } +rkyv = { version = "0.8.7", default-features = false, features = ["std", "alloc", "bytecheck"] } xous = { version = "0.9.63", features = ["forget-memory-messages"]} num-derive = { version = "0.3.3", default-features = false } num-traits = { version = "0.2.14", default-features = false } diff --git a/planning/rkyv-migration2/src/buffer.rs b/planning/rkyv-migration2/src/buffer.rs index b18298dfc..dc2c25e94 100644 --- a/planning/rkyv-migration2/src/buffer.rs +++ b/planning/rkyv-migration2/src/buffer.rs @@ -84,7 +84,7 @@ pub fn send_message(connection: CID, mut message: Message) -> core::result::Resu } } -type Serializer<'a, 'b> = LowSerializer<'a, RkyvBuffer<'b>, SubAllocator<'a>, Panic>; +type Serializer<'a, 'b> = LowSerializer, SubAllocator<'a>, Panic>; impl<'buf> Buffer<'buf> { pub fn new(len: usize) -> Self {