Skip to content

Commit

Permalink
rand: re-export rand_core (#1604)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhardy authored Feb 22, 2025
2 parents ee1d96f + db2b1e0 commit c7fe1c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ You may also find the [Upgrade Guide](https://rust-random.github.io/book/update.
## [Unreleased]
- Fix feature `simd_support` for recent nightly rust (#1586)
- Add `Alphabetic` distribution. (#1587)
- Re-export `rand_core` (#1602)

## [0.9.0] - 2025-01-27
### Security and unsafe
Expand Down
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ macro_rules! error { ($($x:tt)*) => (
}
) }

// Re-export rand_core itself
pub use rand_core;

// Re-exports from rand_core
pub use rand_core::{CryptoRng, RngCore, SeedableRng, TryCryptoRng, TryRngCore};

Expand Down

0 comments on commit c7fe1c4

Please sign in to comment.