Skip to content

Commit 5ffaab4

Browse files
committed
chore(deps): upgrade zerompk to 0.4 via patched fork with schema-evolution support
Pin zerompk and zerompk_derive to a fork that adds opt-in schema-evolution attributes (`#[msgpack(default)]`, `skip_value`, mid-struct-default compile guard), which are required for safe forward/backward-compatible catalog and event-type serialization.
1 parent 5d77db1 commit 5ffaab4

2 files changed

Lines changed: 12 additions & 7 deletions

File tree

Cargo.lock

Lines changed: 4 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ chrono = { version = "0.4", features = ["std"], default-features = false }
136136

137137
# MessagePack
138138
rmpv = "1"
139-
zerompk = { version = "0.3", features = ["std", "derive"] }
139+
zerompk = { version = "0.4", features = ["std", "derive"] }
140140

141141
# Bitmap
142142
roaring = "0.11"
@@ -234,3 +234,10 @@ incremental = false
234234
[profile.debugging]
235235
inherits = "dev"
236236
debug = true
237+
238+
[patch.crates-io]
239+
# Pinned to the fork carrying opt-in schema-evolution support
240+
# (`#[msgpack(default)]`, `skip_value`, mid-struct-default compile guard).
241+
# Bump the `rev` whenever the fork is updated.
242+
zerompk = { git = "https://github.com/farhan-syah/zerompk", rev = "1dd71a0de6b6c99f2c2dbbc69106bb87b1e2cdcb" }
243+
zerompk_derive = { git = "https://github.com/farhan-syah/zerompk", rev = "1dd71a0de6b6c99f2c2dbbc69106bb87b1e2cdcb" }

0 commit comments

Comments
 (0)