You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! cbor4ii's decoder comes with deep limit which could be disabled/increased by implementing own dec::Read. But serde_ipld_dagcbor implements it's own including deep limit. So I'm wondering is there any simple way to disable/increase it? For now i just copied de.rs to my codebase which is not pretty
Activity
vmx commentedon Mar 1, 2024
@MarshalX would it help if the
Deserializerwould be public? I think then you could implement it for your own reader with your own limits.feat: implement Codec trait
feat: implement Codec trait
feat: implement Codec trait (#28)
vmx commentedon Mar 26, 2024
@MarshalX In the most recent release is the
Deserializerpublic. Did you have have chance to see if setting the depth limit now works for you?MarshalX commentedon Mar 27, 2024
hi @vmx and thank you for your effort! i'm a bit busy these days but i'll try to verify as soon as i can. sorry for the long response
vmx commentedon Sep 3, 2025
It's been a while and it's totally fine if priorities shift. I dare to close this issue as fixed.
feat(decode): add maxDepth option, default 256