-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
447: Use getrandom crate for uuid r=kinggoesgaming a=ammgws <!-- If this PR is a breaking change, ensure that you are opening it against the `breaking` branch. If the pull request is incomplete, prepend the Title with WIP: --> **I'm submitting a(n)** other # Description Use `getrandom` crate directly instead of `rand` for generating UUIDs using v4. # Motivation Reduce the number of dependencies used by the crate. Running the example in the README: - Before (10): c2-chacha, cfg-if, getrandom, libc, ppv-lite86, rand, rand_chacha, rand_core, rand_hc, wasi - After (4): cfg-if, getrandom, libc, wasi # Tests <!-- How are these changes tested? --> `cargo test` locally and test usage in a simple program. # Related Issue(s) # Other Wasn't sure whether I should bump the version here or not. Co-authored-by: Jason Nader <[email protected]> Co-authored-by: Jason <[email protected]>
- Loading branch information
Showing
4 changed files
with
23 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters