mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-05 20:30:57 +00:00
fix alloc feature
This commit is contained in:
parent
36a51acbf0
commit
dedbb9b96a
1 changed files with 3 additions and 1 deletions
|
|
@ -9,9 +9,11 @@
|
||||||
|
|
||||||
//! Batch signature verification.
|
//! Batch signature verification.
|
||||||
|
|
||||||
|
#[cfg(feature = "alloc")]
|
||||||
|
extern crate alloc;
|
||||||
#[cfg(feature = "alloc")]
|
#[cfg(feature = "alloc")]
|
||||||
use alloc::vec::Vec;
|
use alloc::vec::Vec;
|
||||||
#[cfg(feature = "std")]
|
#[cfg(all(not(feature = "alloc"), feature = "std"))]
|
||||||
use std::vec::Vec;
|
use std::vec::Vec;
|
||||||
|
|
||||||
use core::iter::once;
|
use core::iter::once;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue