curve,x,ed: re-export rand_core (#908)

* x25519: re-export rand_core

Since these types appear in our public API, we should re-export it.

Closes #741.
This commit is contained in:
Riolku 2026-06-08 11:39:51 -04:00 committed by GitHub
parent 70e82aa855
commit 58b331cde9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 8 additions and 0 deletions

View file

@ -46,6 +46,9 @@ extern crate alloc;
#[macro_use]
extern crate std;
#[cfg(feature = "rand_core")]
pub use rand_core;
#[cfg(feature = "digest")]
pub use digest;

View file

@ -253,6 +253,9 @@ extern crate alloc;
#[macro_use]
extern crate std;
#[cfg(feature = "rand_core")]
pub use rand_core;
pub use ed25519;
#[cfg(feature = "batch")]

View file

@ -22,6 +22,8 @@
)]
#![doc = include_str!("../README.md")]
pub use rand_core;
//------------------------------------------------------------------------
// x25519-dalek public API
//------------------------------------------------------------------------