Skip to content

Commit

Permalink
Merge pull request #10 from sunshowers/drop-old
Browse files Browse the repository at this point in the history
Drop support for rand_core < 0.6
  • Loading branch information
dhardy authored Aug 1, 2024
2 parents 75f9f37 + bf29ca9 commit 8ff18ff
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.3.0] - 2024-07-31

* Update `rand_core` dependency to exactly `0.6`, dropping support for `rand_core <= 0.5`. This
works around Cargo issues where unrelated updates can cause the `rand_core` dependency to "snap
back" to older versions.

## [0.2.3] - 2022-02-24
Fix undefined behaviour caused by narrowing provenance of slice pointer to a
single element then reading multiple elements (#8).
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rand_seeder"
version = "0.2.3" # NB: When modifying, also modify html_root_url in lib.rs
version = "0.3.0" # NB: When modifying, also modify html_root_url in lib.rs
authors = ["The Rand Project Developers"]
license = "MIT OR Apache-2.0"
readme = "README.md"
Expand All @@ -14,4 +14,4 @@ keywords = ["random", "rng", "seeder"]
categories = ["algorithms", "no-std"]

[dependencies]
rand_core = { version = ">= 0.1, <= 0.6", default-features = false }
rand_core = { version = "0.6", default-features = false }
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#![doc(
html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk.png",
html_favicon_url = "https://www.rust-lang.org/favicon.ico",
html_root_url = "https://docs.rs/rand_seeder/0.2.3"
html_root_url = "https://docs.rs/rand_seeder/0.3.0"
)]
#![deny(missing_docs)]
#![deny(missing_debug_implementations)]
Expand Down

0 comments on commit 8ff18ff

Please sign in to comment.