os_dev_toolkit 0.1.2

Dependency-free developer tooling primitives for Rust OS development (logging, diagnostics, fixed buffers, status codes).
Documentation
  • Coverage
  • 97.78%
    88 out of 90 items documented2 out of 58 items with examples
  • Size
  • Source code size: 47.84 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 5.98 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 16s Average build duration of successful builds.
  • all releases: 16s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Documentation
  • alisio85/os_dev_toolkit
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • alisio85

os_dev_toolkit

Dependency-free developer tooling primitives for Rust OS development: minimal logging, diagnostics formatting, fixed-capacity buffers, status codes, and assertion helpers.

License

MIT.

Attribution: Created by an AI assistant (Cascade) based on an idea by alisio85.

Goals

  • no_std-first
  • zero external dependencies
  • deterministic behavior (no allocation by default)
  • strict CI: no warnings, clippy clean

Quick example (logging)

use os_dev_toolkit::log::{Level, LogSink, Logger};

struct MySink;
impl LogSink for MySink {
    fn write_str(&mut self, s: &str) {
        let _ = s;
        // forward to serial/vga/etc
    }
}

fn demo() {
    let mut sink = MySink;
    let mut logger = Logger::new(&mut sink, Level::Info);
    os_dev_toolkit::kinfo!(logger, "hello from the kernel side: {}", 123);
}

Documentation

See docs/MANUAL.md and the other documents in docs/.