xref: /DragonOS/kernel/crates/bitmap/src/lib.rs (revision 9fab312ea9921618629924ab15c28c2d255b21c6)
1 #![no_std]
2 #![feature(core_intrinsics)]
3 #![allow(incomplete_features)] // for const generics
4 #![feature(generic_const_exprs)]
5 #![allow(clippy::needless_return)]
6 
7 #[macro_use]
8 extern crate alloc;
9 
10 mod alloc_bitmap;
11 mod bitmap_core;
12 mod static_bitmap;
13 pub mod traits;
14 pub use alloc_bitmap::AllocBitmap;
15 pub use static_bitmap::StaticBitmap;
16