feat: update cbor to add support for allocating extraction of arrays
This commit is contained in:
parent
5583ef01b2
commit
d200fdd581
1 changed files with 1 additions and 0 deletions
|
@ -280,6 +280,7 @@ pub const DeserializeError = error{
|
||||||
JsonIncompatibleType,
|
JsonIncompatibleType,
|
||||||
InvalidQueryCbor,
|
InvalidQueryCbor,
|
||||||
NotAnObject,
|
NotAnObject,
|
||||||
|
BadArrayAllocExtract,
|
||||||
};
|
};
|
||||||
|
|
||||||
pub fn fromCbor(cb: []const u8, allocator: std.mem.Allocator) DeserializeError!struct { *TSQuery, *std.heap.ArenaAllocator } {
|
pub fn fromCbor(cb: []const u8, allocator: std.mem.Allocator) DeserializeError!struct { *TSQuery, *std.heap.ArenaAllocator } {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue