Skip to content

Conversation

@lucamuscat
Copy link
Contributor

#707 upgrades the rand crate to version 0.9, however, makes use of new APIs introduced in version 0.9.1 (rand::distr::Alphabetic).

Specifying the version string 0.9 in cargo.toml allows projects that already have rand as a dependency to use version 0.9.0, which leads to build failures since rand::distr::Alphabetic did not exist in 0.9.0 (I have experienced this myself in one of my projects).

By specifying the version 0.9.1, we ensure that any projects that rely on this library will always pull a version of rand that has rand::distr::Alphabetic available.

… does not exist in `0.9.0`, which is currently allowed
@rainliu rainliu merged commit 843b191 into webrtc-rs:master Sep 5, 2025
4 checks passed
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