Releases: r4gus/zbor
Releases · r4gus/zbor
0.12.1
0.12.0
This introduces breaking changes as the default behavior for stringify
has slightly changed:
- Enums will be serialized to their textual representation
u8
slices will be serialized to byte strings- For structs and unions:
null
fields are skipped by default- fields of type
std.mem.Allocator
are always skipped. - the names of fields are serialized to text strings (you have to explicitly tell
stringify
to treat the name of a field as integer)
Also, stringify
and parse
now use the same Options
.
0.11.2
0.11.1
0.11.0
This release contains just a few minor tweaks with the most notable being that structs can now contain fields of type std.mem.Allocator
.
Hash: 12204bf1073e9bc1eb12d09a2c298c687ed9c782c687f98ccda3bc95daad8c216845
.{
.name = "your-project",
.version = 0.0.1,
.dependencies = .{
.zbor = .{
.url = "https://github.com/r4gus/zbor/archive/refs/tags/0.11.0.tar.gz",
.hash = "12204bf1073e9bc1eb12d09a2c298c687ed9c782c687f98ccda3bc95daad8c216845",
}
},
}
0.11.3-alpha
PACKAGE HASH:
1220e4d26c4707bb1b3883107b5f3a99866017136cd0b611ba30f9b04a967574fc7e
0.11.2-alpha
Merge pull request #16 from r4gus/0.11.2-alpha 0.11.2 alpha
0.11.1-alpha
library now compiles with latest changes from zig master branch
0.11.0-alpha
- new
Builder
type for dynamically creating CBOR data stringify
can be overridden by implementingcborStringify
for structs and enums