From e08548392d4ac67fb0d4090ab98fbe6a9f36defe Mon Sep 17 00:00:00 2001 From: Chris Hennick <4961925+Pr0methean@users.noreply.github.com> Date: Thu, 23 May 2024 12:39:37 -0700 Subject: [PATCH] test: Tests in `aes.rs` can only run when `aes-crypto` is enabled --- src/aes.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aes.rs b/src/aes.rs index 721d72ae..8ef9c971 100644 --- a/src/aes.rs +++ b/src/aes.rs @@ -298,7 +298,7 @@ impl Write for AesWriter { } } -#[cfg(test)] +#[cfg(all(test, feature = "aes-crypto"))] mod tests { use std::io::{self, Read, Write};