Skip to content

Commit c7fe1c4

Browse files
authored
rand: re-export rand_core (#1604)
2 parents ee1d96f + db2b1e0 commit c7fe1c4

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)