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

Wrapping support #1020

Closed
dhardy opened this issue Aug 17, 2017 · 1 comment
Closed

Wrapping support #1020

dhardy opened this issue Aug 17, 2017 · 1 comment

Comments

@dhardy
Copy link

dhardy commented Aug 17, 2017

Please consider adding support for std::num::Wrapping.

Use-case: using #[derive(Serialize, Deserialize)] on RNGs like ChaChaRng.

Of course, a work-around is possible, but derive won't work without support for Wrapping.

@dtolnay
Copy link
Member

dtolnay commented Oct 31, 2017

Added in #1072, released in 1.0.17.

@dtolnay dtolnay closed this as completed Oct 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants