From 534605a8d8c54298050b76a54be71a8c9bce50bf Mon Sep 17 00:00:00 2001 From: Sachymetsu Date: Sun, 5 Apr 2026 10:12:29 +0200 Subject: [PATCH] Remove alloc requirement from crypto crate --- sachy-crypto/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sachy-crypto/src/lib.rs b/sachy-crypto/src/lib.rs index 361b85c..9981068 100644 --- a/sachy-crypto/src/lib.rs +++ b/sachy-crypto/src/lib.rs @@ -9,8 +9,6 @@ use dhkem::{ }; use elliptic_curve::subtle::ConstantTimeEq; -extern crate alloc; - /// Error type. /// /// This type is deliberately opaque as to avoid potential side-channel @@ -315,6 +313,8 @@ mod tests { use dhkem::Generate; use elliptic_curve::array::Array; + extern crate alloc; + use super::*; #[test] -- 2.51.2