Take the validating decoder

CultLib 96138ff moved record validation and the record-key consistency check into
the shared decoder, so this inherits both rather than trusting whatever arrives.
A record whose envelope key disagrees with its own contents is now refused here
without Ratatoskr implementing a single check itself.

Worth noting what did not happen: no dependency conflict. Muninn hit a diamond
on this same bump because it still links odin-core, which pins an older CultLib.
This repo depends on nothing but the contract, so the bump was a one-line change
and the suite stayed green.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-09-10 02:30:07 +02:00
commit 3e1a827aaf
2 changed files with 4 additions and 4 deletions

6
Cargo.lock generated
View file

@ -169,7 +169,7 @@ dependencies = [
[[package]]
name = "cultcache-rs"
version = "0.1.0"
source = "git+https://github.com/GameCult/CultLib.git?rev=a3e6877945f22134af99999a60f85cf7acc16056#a3e6877945f22134af99999a60f85cf7acc16056"
source = "git+https://github.com/GameCult/CultLib.git?rev=96138ffcfa7d48fe00d31079d7859baa1f3c9a58#96138ffcfa7d48fe00d31079d7859baa1f3c9a58"
dependencies = [
"anyhow",
"chrono",
@ -187,7 +187,7 @@ dependencies = [
[[package]]
name = "cultcache-rs-derive"
version = "0.1.0"
source = "git+https://github.com/GameCult/CultLib.git?rev=a3e6877945f22134af99999a60f85cf7acc16056#a3e6877945f22134af99999a60f85cf7acc16056"
source = "git+https://github.com/GameCult/CultLib.git?rev=96138ffcfa7d48fe00d31079d7859baa1f3c9a58#96138ffcfa7d48fe00d31079d7859baa1f3c9a58"
dependencies = [
"proc-macro2",
"quote",
@ -197,7 +197,7 @@ dependencies = [
[[package]]
name = "cultnet-rs"
version = "0.1.0"
source = "git+https://github.com/GameCult/CultLib.git?rev=a3e6877945f22134af99999a60f85cf7acc16056#a3e6877945f22134af99999a60f85cf7acc16056"
source = "git+https://github.com/GameCult/CultLib.git?rev=96138ffcfa7d48fe00d31079d7859baa1f3c9a58#96138ffcfa7d48fe00d31079d7859baa1f3c9a58"
dependencies = [
"aes-gcm",
"anyhow",

View file

@ -12,4 +12,4 @@ crate-type = ["rlib", "cdylib", "staticlib"]
[dependencies]
anyhow = "1"
cultnet-rs = { git = "https://github.com/GameCult/CultLib.git", rev = "a3e6877945f22134af99999a60f85cf7acc16056", package = "cultnet-rs" }
cultnet-rs = { git = "https://github.com/GameCult/CultLib.git", rev = "96138ffcfa7d48fe00d31079d7859baa1f3c9a58", package = "cultnet-rs" }