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

Implement Serialize for Reflect? #1

Open
jrmuizel opened this issue Dec 15, 2022 · 1 comment
Open

Implement Serialize for Reflect? #1

jrmuizel opened this issue Dec 15, 2022 · 1 comment

Comments

@jrmuizel
Copy link

I'd thought of building this kind of thing in the past so thanks a lot for making it!

The use case that I had in mind was to be able to have serializable types for dumping program state without having to have the compile time and code size costs of #[derive(Serialize)]

I haven't looked closely, but do you think that this would be possible to implement?

@jswrenn
Copy link
Owner

jswrenn commented Dec 20, 2022

This is a great idea! I've whipped up an initial implementation in #2, but there's still some work to do before it's ready to merge. If you have time to try it out and provide feedback, that'd be much appreciated.

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