tg-console

Crates.iotg-console
lib.rstg-console
version0.1.0-preview.1
created_at2026-01-22 05:23:06.392842+00
updated_at2026-01-22 05:23:06.392842+00
descriptionProvides `print!`, `println!` and `log::Log` with customizable implementations for rCore tutorial.
homepage
repositoryhttps://github.com/rcore-os/rCore-Tutorial-in-single-workspace
max_upload_size
id2060808
size6,806
Yiren Zhang (DeathWish5)

documentation

https://docs.rs/tg-console

README

tg-console

Crates.io Documentation License

控制台输出模块,为 rCore 教学操作系统提供可定制实现的 print!println!log::Log

功能特性

  • 提供 print!println!
  • 实现 log::Log trait,支持日志功能
  • 支持基本的彩色输出
  • no_std 环境支持

使用方法

use tg_console::{print, println};

println!("Hello, rCore!");

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

Commit count: 242

cargo fmt