Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serde feature #3

Open
TheBB opened this issue Aug 16, 2023 · 1 comment
Open

Serde feature #3

TheBB opened this issue Aug 16, 2023 · 1 comment

Comments

@TheBB
Copy link

TheBB commented Aug 16, 2023

It would be nice to have optional serde support, see e.g. the rust-gc crate:

https://github.com/Manishearth/rust-gc/blob/949732cf8dd2676e0edadc096e2484455bc82a46/gc/src/serde.rs

@claytonwramsey
Copy link
Owner

Thanks for the suggestion!

I'm open to the idea, but I won't have a huge amount of time to work on this in the near future. I'll see if I can figure something out eventually, but don't hold your breath.

A big question that would have to be solved before this: how do we want to handle cycles? If we just blindly recur on the structure, we'll have a pretty rough time, since that could cause the runtime of execution to just explode. Do you have any thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants