-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Description
We are trying to use ciborium to ser/de some complicated data. Part of the data invokes the Deserializer::deserialize_str
and fails with an error: invalid type: string, expected str
. This is because that ciborium limit the deserialze_str
size to a hard coded 4096.
See:
ciborium/ciborium/src/de/mod.rs
Line 753 in 10b531e
let mut scratch = [0; 4096]; |
ciborium/ciborium/src/de/mod.rs
Line 327 in 10b531e
Header::Text(Some(len)) if len <= self.scratch.len() => { |
Would it better to export a configurable limitation or alloc the internal buffer adaptively?
glebpom and fogti
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
New