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