diff --git a/Cargo.toml b/Cargo.toml index 5653eb6..30a94b0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -73,6 +73,7 @@ std = [ "serde_bytes/std", "rand_core/std", "getrandom_or_panic/std", + "aead", ] asm = ["sha2/asm"] serde = ["dep:serde", "serde_bytes", "cfg-if"] diff --git a/src/lib.rs b/src/lib.rs index eeebe87..af18441 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -249,7 +249,7 @@ pub mod identifier; pub mod sign; pub mod vrf; -#[cfg(all(feature = "alloc", feature = "aead"))] +#[cfg(feature = "alloc")] pub mod polynomial; #[cfg(all(feature = "alloc", feature = "aead"))]