diff options
Diffstat (limited to 'src/block.rs')
-rw-r--r-- | src/block.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/block.rs b/src/block.rs index 8327286..e1140e7 100644 --- a/src/block.rs +++ b/src/block.rs @@ -1,4 +1,9 @@ +#[cfg(feature = "std")] use std::ops::{BitAnd, BitOr, BitXor, Index, IndexMut, Mul, Shl, Shr}; +#[cfg(not(feature = "std"))] +use core::ops::{BitAnd, BitOr, BitXor, Index, IndexMut, Mul, Shl, Shr}; + + #[cfg(feature = "simd")] use std::simd::prelude::*; |