diff --git a/Cargo.toml b/Cargo.toml index ae00144..b6d0cb8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,14 +1,14 @@ [package] -name = "rand-sequence" +name = "rand-unique" version = "0.2.0" edition = "2021" authors = ["Liam Gray "] description = "A no-std crate for generating random sequences of unique integers in O(1) time." -repository = "https://github.com/hoxxep/rand-sequence" -documentation = "https://docs.rs/rand-sequence" +repository = "https://github.com/hoxxep/rand-unique" +documentation = "https://docs.rs/rand-unique" license = "MIT OR Apache-2.0" readme = "README.md" -keywords = ["random", "sequence", "unique", "numbers", "no-std"] +keywords = ["random", "unique", "numbers", "sequence", "integers"] categories = ["algorithms", "no-std"] exclude = ["Cargo.lock", "charts/*", ".github"] diff --git a/README.md b/README.md index d99dfef..ee2e2dc 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# rand-sequence +# rand-unique Deterministically generate a sequence of unique random numbers. A non-repeating pseudo-random number generator, directly index-able for the nth number in the sequence. @@ -55,10 +55,10 @@ assert_eq!(nums.len(), u16::MAX as usize + 1); Future work could include a more rigorous analysis of the output distribution. For now, the following charts demonstrate the roughly uniform distribution for `RandomSequence`. Histogram visualisation of the `RandomSequence` output distribution. -![Histogram demonstrating uniformity of distribution](https://github.com/hoxxep/rand-sequence/raw/master/charts/histogram-u16.png) +![Histogram demonstrating uniformity of distribution](https://github.com/hoxxep/rand-unique/raw/master/charts/histogram-u16.png) Visual scatter plot of the `RandomSequence` output. -![Scatter plot of RandomSequence output](https://github.com/hoxxep/rand-sequence/raw/master/charts/scatter-u16.png) +![Scatter plot of RandomSequence output](https://github.com/hoxxep/rand-unique/raw/master/charts/scatter-u16.png) ## How It Works