feat: update cbor to add support for allocating extraction of arrays
This commit is contained in:
parent
7069d36461
commit
50145dd176
5 changed files with 6 additions and 2 deletions
|
@ -280,6 +280,7 @@ pub const DeserializeError = error{
|
|||
JsonIncompatibleType,
|
||||
InvalidQueryCbor,
|
||||
NotAnObject,
|
||||
BadArrayAllocExtract,
|
||||
};
|
||||
|
||||
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