mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-08 03:49:41 +00:00
1e448dec21
transcript, dalek-ff-group, ed449, and ciphersuite are all usable with no_std alone. The rest additionally require alloc. Part of #279.
7 lines
182 B
Rust
7 lines
182 B
Rust
#[cfg(feature = "std")]
|
|
pub use std::collections::*;
|
|
|
|
#[cfg(not(feature = "std"))]
|
|
pub use alloc::collections::*;
|
|
#[cfg(not(feature = "std"))]
|
|
pub use hashbrown::{HashSet, HashMap};
|