feat: update cbor to add support for allocating extraction of arrays

This commit is contained in:
CJ van den Berg 2025-07-14 13:12:40 +02:00
parent 7069d36461
commit 50145dd176
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
5 changed files with 6 additions and 2 deletions

View file

@ -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 } {