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