Include integrity hash in serialized bytes

This commit is contained in:
mdecimus
2025-03-11 15:10:40 +01:00
parent 624c44e3d9
commit d3b284e28d
82 changed files with 584 additions and 355 deletions

View File

@@ -7,7 +7,7 @@
use std::fmt::Display;
use store::{
Serialize,
Serialize, SerializedVersion,
write::{MaybeDynamicId, TagValue},
};
@@ -68,6 +68,12 @@ pub enum Keyword {
Other(String),
}
impl SerializedVersion for Keyword {
fn serialize_version() -> u8 {
0
}
}
impl JsonObjectParser for Keyword {
fn parse(parser: &mut Parser<'_>) -> trc::Result<Self>
where