Files
FoundryOS/libk/src/lib.rs
T
2025-02-24 15:33:42 +00:00

41 lines
833 B
Rust

#![no_std]
#![allow(async_fn_in_trait)]
#![warn(tail_expr_drop_order)]
#![warn(
clippy::correctness,
clippy::nursery,
clippy::unnecessary_cast,
clippy::all,
clippy::suspicious,
clippy::perf,
rustdoc::missing_errors_doc,
rustdoc::missing_panics_doc
)]
// alloc
// io : serial, framebuffer, ascii(?), keyboard
// ?????
// scheduling / tasks : async
extern crate alloc;
pub mod drivers;
pub mod resources;
#[allow(unused)] // We aren't using much of this right now.
pub mod std;
/// Re-exports most of the IO macros as well as standard allocation stuff
pub mod prelude {
pub use crate::std::io::*;
pub use alloc::{
boxed::Box,
string::{String, ToString},
vec::Vec,
};
}
pub use crate::drivers::io::{
ascii::{_print, _print_log},
serial::_serial_write,
};