#logging #daemon #terminal

bin+lib daemon_console

A flexible console for daemon applications

9 unstable releases (3 breaking)

Uses new Rust 2024

0.3.3 Nov 22, 2025
0.3.2 Nov 20, 2025
0.2.2 Nov 7, 2025
0.1.0 Oct 23, 2025
0.0.2 Oct 23, 2025

#531 in Command-line interface

GPL-3.0 license

60KB
1K SLoC

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.

Dependencies

~7–13MB
~250K SLoC