Pass the {curve, x}25519-dalek features through the build
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user