From 14064e75bee4a058639e84e4c1478a09b99b3753 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D1=91=D0=BC=20=D0=9F=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=BE=D0=B2=20=5BArtyom=20Pavlov=5D?= Date: Wed, 13 Nov 2024 20:01:43 +0300 Subject: [PATCH] Fix signature --- signature/src/error.rs | 2 +- signature/src/lib.rs | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) 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;