Switch manifest serialization to CBOR

Replace JSON-based bundle manifest with a CBOR-encoded format. The manifest
is now a canonical CBOR map with order-strict key decoding, raw 32-byte hash
payloads (instead of hex-encoded JSON), and compact binary representation.
This commit is contained in:
2026-05-07 21:41:50 -05:00
parent d9f25a2b5a
commit e3117e3ac8
23 changed files with 988 additions and 275 deletions

View File

@@ -37,11 +37,11 @@ executable tricu
-fPIC
build-depends:
base >=4.7
, aeson
, ansi-terminal
, base16-bytestring
, base64-bytestring
, bytestring
, cborg
, cmdargs
, containers
, cryptonite
@@ -90,11 +90,11 @@ test-suite tricu-tests
ScopedTypeVariables
build-depends:
base >=4.7
, aeson
, ansi-terminal
, base16-bytestring
, base64-bytestring
, bytestring
, cborg
, cmdargs
, containers
, cryptonite
@@ -115,8 +115,8 @@ test-suite tricu-tests
, text
, time
, transformers
, warp
, wai
, warp
, zlib
default-language: Haskell2010
other-modules: