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