Add const PCD_VERSION and ZSTD_COMPRESSION_LEVEL

This commit is contained in:
Sosthene 2025-06-24 17:04:50 +02:00
parent 8ab1a7db71
commit d55855710d

View File

@ -24,6 +24,9 @@ use crate::{
serialization::hex_array_btree
};
pub const PCD_VERSION: u8 = 1;
pub(crate) const ZSTD_COMPRESSION_LEVEL: i32 = zstd::DEFAULT_COMPRESSION_LEVEL;
#[derive(Debug, Default, Clone, Deserialize, Tsify)]
#[tsify(into_wasm_abi, from_wasm_abi)]
pub struct Member {