From c3991ec1e8c98e81bac8191748949295b50d81eb Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Mon, 12 Oct 2026 04:12:42 +0200 Subject: [PATCH] thing-contract: depend on serde_bytes (the CultSlots bytes slot expands to it); goldens are never text-converted Co-Authored-By: Claude Sonnet 5.5 --- Cargo.lock | 1 + crates/thing-contract/Cargo.toml | 1 + crates/thing-contract/tests/goldens/.gitattributes | 1 + 3 files changed, 3 insertions(+) create mode 100644 crates/thing-contract/tests/goldens/.gitattributes diff --git a/Cargo.lock b/Cargo.lock index cfc37b4..3898b9a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -377,6 +377,7 @@ dependencies = [ "cultcache-rs", "rmp-serde", "serde", + "serde_bytes", ] [[package]] diff --git a/crates/thing-contract/Cargo.toml b/crates/thing-contract/Cargo.toml index e261137..f3ffd0f 100644 --- a/crates/thing-contract/Cargo.toml +++ b/crates/thing-contract/Cargo.toml @@ -9,6 +9,7 @@ publish = false anyhow = { workspace = true } cultcache-rs = { workspace = true } serde = { workspace = true } +serde_bytes = "0.11" [dev-dependencies] rmp-serde = { workspace = true } diff --git a/crates/thing-contract/tests/goldens/.gitattributes b/crates/thing-contract/tests/goldens/.gitattributes new file mode 100644 index 0000000..fa1385d --- /dev/null +++ b/crates/thing-contract/tests/goldens/.gitattributes @@ -0,0 +1 @@ +* -text