From b4bb62b7ca0be710a0a7d5484cb9d3371f24ec2a Mon Sep 17 00:00:00 2001 From: s-ol Date: Sat, 28 Mar 2026 23:35:26 +0100 Subject: no-std compatible crypto --- src/lib.rs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 5afbd16..c7d327c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,13 +1,7 @@ #![cfg_attr(not(feature = "std"), no_std)] -#[cfg(feature = "std")] pub mod crypto; -#[cfg(not(feature = "std"))] -pub mod no_std_crypto; -#[cfg(not(feature = "std"))] -pub use no_std_crypto as crypto; - pub mod string_helper; #[derive(Debug, PartialEq)] @@ -24,7 +18,7 @@ pub mod std_identity; // This version of identity is no-std #[cfg(not(feature = "std"))] -pub(crate) mod no_std_identity; +pub mod no_std_identity; pub mod ack; pub mod advert; -- cgit v1.2.3