Skip to content

Commit d43a2f0

Browse files
re-export the crypto crates
1 parent 636c5ea commit d43a2f0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/lib.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@ use prelude::kdf::{labeled_expand, labeled_extract};
3232
/// Re-export of the HPKE types from the [`hpke_rs_crypto`] crate.
3333
pub use hpke_rs_crypto::types as HpkeTypes;
3434

35+
/// Re-export of the RustCrypto crate.
36+
#[cfg(feature = "rustcrypto")]
37+
pub use hpke_rs_rust_crypto as rustcrypto;
38+
39+
/// Re-export of the libcrux crate.
40+
#[cfg(feature = "libcrux")]
41+
pub use hpke_rs_libcrux as libcrux;
42+
3543
#[cfg(not(feature = "hpke-test-prng"))]
3644
use rand_core::TryRngCore;
3745

0 commit comments

Comments
 (0)