daemon_console

Crates.iodaemon_console
lib.rsdaemon_console
version0.3.3
created_at2025-10-23 08:32:01.294635+00
updated_at2025-11-22 09:16:41.997441+00
descriptionA flexible console for daemon applications.
homepagehttps://crates.io/crates/daemon_console
repositoryhttps://github.com/Mooling0602/Daemon_Console_Rust
max_upload_size
id1896800
size107,222
木泠 (Mooling0602)

documentation

https://docs.rs/daemon_console

README

Daemon Console

A flexible console for daemon applications providing a terminal interface with command registration, history navigation, and colored logging.

Features

  • Command history with up/down arrow navigation
  • Colored logging with different severity levels (info, warn, error, debug, critical)
  • Customizable unknown command handling
  • Raw terminal mode for smooth user experience
  • Support for both sync and async command handlers

Usage

Add this to your Cargo.toml:

[dependencies]
daemon_console = "0.3.0"

Then read the docs.

If you have any questions, ask in issues, I'll glad to reply you.

Contributing

This project have two branches: main and dev.

After v0.3.1

Documentations will be edited in main branch, and code changes will be made in dev branch.

Once the code in dev branch is stable, it will be merged into main branch, then released as a new version.

Thanks to project like cargo-dist and cargo-binstall, using them helps distribute this project.

License

This project is licensed under GPL-3.0.

Commit count: 0

cargo fmt