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