Pass the {curve, x}25519-dalek features through the build

This commit is contained in:
François Garillot
2020-07-22 14:59:06 -04:00
parent 5a7b60bec7
commit 4fda240a7d
2 changed files with 11 additions and 3 deletions
+6
View File
@@ -386,6 +386,12 @@
#![cfg_attr(not(feature = "bench"), deny(missing_docs))]
#![deny(unsafe_code)]
#[cfg(not(any(feature = "u64_backend", feature = "u32_backend",)))]
compile_error!(
"no dalek arithmetic backend cargo feature enabled! \
please enable one of: u64_backend, u32_backend"
);
// Error types
pub mod errors;