vga/src/lib.rs
2020-03-12 12:34:13 -05:00

24 lines
425 B
Rust

//! This crate provides vga specific functions, data structures,
//! and access to various registers.
#![no_std]
#![warn(missing_docs)]
pub mod colors;
mod configurations;
mod fonts;
mod registers;
pub mod vga;
mod writers;
pub use self::vga::VGA;
pub use self::writers::{Graphics640x480x16, Text40x25, Text40x50, Text80x25};
#[cfg(test)]
mod tests {
#[test]
fn it_works() {
assert_eq!(2 + 2, 4);
}
}