Skip to content

Conversation

@nstilt1
Copy link
Contributor

@nstilt1 nstilt1 commented Jan 10, 2026

As per the discussion here (rust-random/rand#1101) I have added a warning whenever serde is enabled. This assumes that people will read compile-time warnings. I have verified that the warning shows up on dependent crates, but I will add that if the dependency is too far upstream, people might not know whether the warning is something to be worried about, so some game devs might raise an issue about why they keep getting this warning. We could add a feature called non_crypto_PRNG or something similar to silence the warning. Just want to show what the changes would look like if we added the feature back and added a simple warning.

@tarcieri
Copy link
Member

I would personally prefer to just not have the feature.

@nstilt1
Copy link
Contributor Author

nstilt1 commented Jan 10, 2026

Alright then.

@nstilt1 nstilt1 closed this Jan 10, 2026
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.

2 participants