Merge pull request #116 from NikVolf/nv-fix-alloc

Fix alloc feature compilation
This commit is contained in:
isis agora lovecruft 2020-06-30 22:51:07 +00:00 committed by GitHub
commit 005fc35f52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,9 +9,11 @@
//! Batch signature verification.
#[cfg(feature = "alloc")]
extern crate alloc;
#[cfg(feature = "alloc")]
use alloc::vec::Vec;
#[cfg(feature = "std")]
#[cfg(all(not(feature = "alloc"), feature = "std"))]
use std::vec::Vec;
use core::iter::once;