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