Recent Releases of zbor
zbor - 0.18.0
What's Changed
- Support indefinite-length arrays by @emiflake in https://github.com/r4gus/zbor/pull/29
- Support indefinite-length maps
New Contributors
- @emiflake made their first contribution in https://github.com/r4gus/zbor/pull/29
Full Changelog: https://github.com/r4gus/zbor/compare/0.17.3...0.18.0
- Zig
Published by r4gus 7 months ago
zbor - 0.17.3
What's Changed
- Changed the build.zig filename to builder.zig. The zig buildrunner in… by @Thomvanoorschot in https://github.com/r4gus/zbor/pull/28
New Contributors
- @Thomvanoorschot made their first contribution in https://github.com/r4gus/zbor/pull/28
Full Changelog: https://github.com/r4gus/zbor/compare/0.17.2...0.17.3
- Zig
Published by r4gus 8 months ago
zbor - 0.17.0
- The option
from_callbackhas been renamed toignore_override. This is a breaking change! build.zigandbuild.zig.zonhave been updated for Zig v0.14.0
Use this release in you project:
bash
zig fetch --save https://github.com/r4gus/zbor/archive/refs/tags/0.17.0.tar.gz
- Zig
Published by r4gus 10 months ago
zbor - 0.17.0
- The option
from_callbackhas been renamed toignore_override. This is a breaking change! build.zigandbuild.zig.zonhave been updated for Zig v0.14.0
Use this release in you project:
bash
zig fetch --save https://github.com/r4gus/zbor/archive/refs/tags/0.17.0.tar.gz
- Zig
Published by r4gus 10 months ago
zbor - 0.14.0
This library now offers a convenient function named ArrayBackedSlice, which enables you to create a wrapper for an array of any size and type. This wrapper implements the cborStringify and cborParse methods, allowing it to seamlessly replace slices (e.g., []const u8) with an array.
- Zig
Published by r4gus over 1 year ago
zbor - 0.13.1
More support for manual serialization.
zig.build.zon:
zig
.dependencies = .{
.zbor = .{
.url = "https://github.com/r4gus/zbor/archive/refs/tags/0.13.1.tar.gz",
.hash = "122051750f4d7ecc9b705f1bbea1d431956306c74dafa4e9b625b11a34fab4c06933",
},
},
- Zig
Published by r4gus over 1 year ago
zbor - 0.12.3
two bug fixes.
Use this to get started:
```zig // build.zig.zon .{ .name = "your-project", .version = "0.1.0",
.dependencies = .{
.zbor = .{
.url = "https://github.com/r4gus/zbor/archive/refs/tags/0.12.3.tar.gz",
.hash = "1220bbea0285a5d555320b00dde5ced378254c8be144d155d8f886ab4a4e9a855881",
},
},
} ```
- Zig
Published by r4gus almost 2 years ago
zbor -
```zig // build.zig.zon .{ .name = "your-project", .version = "0.1.0",
.dependencies = .{
.zbor = .{
.url = "https://github.com/r4gus/zbor/archive/refs/tags/0.12.2.tar.gz",
.hash = "12206bbb8acbd91940b4e4d5cc2b3ea9c889de0f15b696cacb46c9208dcaa83bf8a6",
},
},
} ```
- Zig
Published by r4gus about 2 years ago
zbor -
This introduces breaking changes as the default behavior for stringify has slightly changed:
- Enums will be serialized to their textual representation
u8slices will be serialized to byte strings- For structs and unions:
nullfields are skipped by default- fields of type
std.mem.Allocatorare always skipped. - the names of fields are serialized to text strings (you have to explicitly tell
stringifyto treat the name of a field as integer)
Also, stringify and parse now use the same Options.
- Zig
Published by r4gus about 2 years ago
zbor - 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
```zon .{ .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",
}
},
} ```
- Zig
Published by r4gus over 2 years ago
zbor - 0.11.3-alpha
PACKAGE HASH:
1220e4d26c4707bb1b3883107b5f3a99866017136cd0b611ba30f9b04a967574fc7e
- Zig
Published by r4gus almost 3 years ago
zbor - 0.11.0-alpha
- new
Buildertype for dynamically creating CBOR data stringifycan be overridden by implementingcborStringifyfor structs and enums
- Zig
Published by r4gus almost 3 years ago
zbor - 0.1.0
zbor is a CBOR encoder/ decoder library and command line tool written in Zig.
The library currently supports:
* CBOR decoding
* CBOR encoding
* Serialization of DataItems to Json
Full support for deserializing Json into DataItems will be added later.
For examples on how to use the library see here.
If you encounter any bugs or other problems please open a issue.
- Zig
Published by r4gus over 3 years ago