chore(blob): add bincode dependency and new meta error variants

This commit is contained in:
rustmailer
2026-06-23 22:55:13 +08:00
parent 04745458bc
commit cc54063669
2 changed files with 7 additions and 0 deletions
+1
View File
@@ -10,6 +10,7 @@ zstd = "0.13"
lz4_flex = "0.13.1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
bincode = "1"
tracing = "0.1"
thiserror = "2"
+6
View File
@@ -50,4 +50,10 @@ pub enum Error {
expected: u64,
actual: u64,
},
#[error("Corrupt metadata file: {0}")]
CorruptMeta(String),
#[error("Unsupported metadata version {version} in {path}")]
UnsupportedMetaVersion { path: PathBuf, version: u32 },
}