Include integrity hash in serialized bytes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user