mirror of
https://github.com/serai-dex/serai.git
synced 2025-05-08 05:32:16 +00:00
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};
|