From dea93fb22bbb3d9713480895bc052414628094c7 Mon Sep 17 00:00:00 2001 From: Artyom Pavlov Date: Tue, 3 Mar 2026 14:56:16 +0300 Subject: [PATCH 1/2] Fix `getrandom` version in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bf19f13b0..921f54cdb 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Add the `getrandom` dependency to your `Cargo.toml` file: ```toml [dependencies] -getrandom = "0.3" +getrandom = "0.4" ``` Then invoke the `fill` function on a byte buffer to fill it with random data: From 33a859e786d3ea9c645297760f8cbd330d7b9349 Mon Sep 17 00:00:00 2001 From: Artyom Pavlov Date: Tue, 3 Mar 2026 19:11:08 +0300 Subject: [PATCH 2/2] remove text about Cargo.toml --- README.md | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/README.md b/README.md index 921f54cdb..862721d27 100644 --- a/README.md +++ b/README.md @@ -19,16 +19,7 @@ library like [`rand`]. [`rand`]: https://crates.io/crates/rand -## Usage - -Add the `getrandom` dependency to your `Cargo.toml` file: - -```toml -[dependencies] -getrandom = "0.4" -``` - -Then invoke the `fill` function on a byte buffer to fill it with random data: +## Examples ```rust fn get_random_u128() -> Result {