Skip to content

Commit db2b1e0

Browse files
committed
rand: re-export rand_core
1 parent ee1d96f commit db2b1e0

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ You may also find the [Upgrade Guide](https://rust-random.github.io/book/update.
1111
## [Unreleased]
1212
- Fix feature `simd_support` for recent nightly rust (#1586)
1313
- Add `Alphabetic` distribution. (#1587)
14+
- Re-export `rand_core` (#1602)
1415

1516
## [0.9.0] - 2025-01-27
1617
### Security and unsafe

src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@ macro_rules! error { ($($x:tt)*) => (
9696
}
9797
) }
9898

99+
// Re-export rand_core itself
100+
pub use rand_core;
101+
99102
// Re-exports from rand_core
100103
pub use rand_core::{CryptoRng, RngCore, SeedableRng, TryCryptoRng, TryRngCore};
101104

0 commit comments

Comments
 (0)