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

Add serde1 feature for rand_distr #1141

Merged
merged 6 commits into from Jul 9, 2021
Merged

Add serde1 feature for rand_distr #1141

merged 6 commits into from Jul 9, 2021

Conversation

dhardy
Copy link
Member

@dhardy dhardy commented Jul 8, 2021

Closes #1040. Didn't look into why @CGMossa got that error and I'm too lazy to write tests, but I think it should work.

@vks
Copy link
Collaborator

vks commented Jul 8, 2021

Looks good! Maybe we should also add the docs.rs boilerplate, so that the features are displayed there as well?

@dhardy
Copy link
Member Author

dhardy commented Jul 8, 2021

You mean the doc_cfg stuff? Can we even do that for derives (and should we bother — I wouldn't)?

@vks
Copy link
Collaborator

vks commented Jul 8, 2021

I think so. I'm not sure we should bother (it's kind of obvious that the serde1 feature flag is required for the serde traits). This can certainly be merged without it.

@vks
Copy link
Collaborator

vks commented Jul 8, 2021

I think the changelog still needs to be updated?

@dhardy dhardy merged commit 52407e7 into rust-random:master Jul 9, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants