From 4375bf43d0174c39ba7e4324b67a0afa6fb7b87a Mon Sep 17 00:00:00 2001 From: bunnie Date: Mon, 29 Sep 2025 13:49:39 +0800 Subject: [PATCH] remove debug as a default option for ed25519 --- bao1x-boot/ed25519-dalek-bao1x/Cargo.toml | 2 +- bao1x-boot/ed25519-dalek-bao1x/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bao1x-boot/ed25519-dalek-bao1x/Cargo.toml b/bao1x-boot/ed25519-dalek-bao1x/Cargo.toml index 39cf94e79..0d5098112 100644 --- a/bao1x-boot/ed25519-dalek-bao1x/Cargo.toml +++ b/bao1x-boot/ed25519-dalek-bao1x/Cargo.toml @@ -75,7 +75,7 @@ required-features = ["rand_core"] [features] # add print debugging debug = ["utralib"] -default = ["fast", "std", "zeroize", "debug"] +default = ["fast", "std", "zeroize"] alloc = [ "curve25519-dalek/alloc", "ed25519/alloc", diff --git a/bao1x-boot/ed25519-dalek-bao1x/src/lib.rs b/bao1x-boot/ed25519-dalek-bao1x/src/lib.rs index 7d93bd67a..8a4d72a29 100644 --- a/bao1x-boot/ed25519-dalek-bao1x/src/lib.rs +++ b/bao1x-boot/ed25519-dalek-bao1x/src/lib.rs @@ -281,6 +281,6 @@ pub use crate::signing::*; pub use crate::verifying::*; #[cfg(feature = "debug")] -mod debug; +pub mod debug; #[cfg(feature = "debug")] pub use debug::*;