birkenfeld/serde-pickle

How to deal with recursive structures

razaqq opened this issue · 3 comments

razaqq commented

Im dealing with pickles containing recursive structures, but i do not need the data contained in them.
Basically im trying to "ignore" recursive structures without erroring.
Currently i dont see any option to do so.
Basically im looking for something like .replace_unresolved_globals() but for recursive structures.

razaqq commented

Upon reading the PRs i noticed that #22 adds support for exactly what i asked for

@razaqq I'm sure you've moved past this problem, but I recommend you give my patch a try as well: #24

[patch.crates-io]
serde-pickle = { git = "https://github.com/landaire/serde-pickle.git" }

Thanks for the issue, I've added the requested option now.