diff --git a/signature/src/error.rs b/signature/src/error.rs index 577523de..dc30176c 100644 --- a/signature/src/error.rs +++ b/signature/src/error.rs @@ -3,7 +3,7 @@ use core::fmt::{self, Debug, Display}; #[cfg(feature = "alloc")] -use std::boxed::Box; +use alloc::boxed::Box; /// Result type. /// diff --git a/signature/src/lib.rs b/signature/src/lib.rs index 902499fe..a3281f76 100644 --- a/signature/src/lib.rs +++ b/signature/src/lib.rs @@ -130,8 +130,6 @@ #[cfg(feature = "alloc")] extern crate alloc; -#[cfg(feature = "std")] -extern crate std; pub mod hazmat;