From 58e34bba1186bce6373b737330ab9a07d0639fe6 Mon Sep 17 00:00:00 2001 From: Christoph Herzog Date: Thu, 30 Mar 2023 17:01:47 +0200 Subject: [PATCH] Enable rkyv strict feature for Archive serialization Guarantess that archived data has the same structure on all platforms. Related to #3695 --- lib/types/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/types/Cargo.toml b/lib/types/Cargo.toml index 8ec4f3644fc..62d8cea7f33 100644 --- a/lib/types/Cargo.toml +++ b/lib/types/Cargo.toml @@ -16,7 +16,7 @@ serde_bytes = { version = "0.11", optional = true } thiserror = "1.0" more-asserts = "0.2" indexmap = { version = "1.6" } -rkyv = { version = "0.7.40", features = ["indexmap", "validation"] } +rkyv = { version = "0.7.40", features = ["indexmap", "validation", "strict"] } enum-iterator = "0.7.0" target-lexicon = { version = "0.12.2", default-features = false } enumset = "1.0"