xref: /DragonOS/kernel/crates/bitmap/src/lib.rs (revision 59fdb447ee4f7b53b1d9c56ec1442aa8c597ac2b)
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