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