57 unstable releases

Uses new Rust 2024

0.29.2 Dec 10, 2025
0.29.1 Sep 9, 2025
0.29.0 Jul 31, 2025
0.27.0 Mar 3, 2025
0.9.0 Nov 22, 2023

#707 in Command-line interface

MIT license

48KB
1K SLoC

oma-console

oma-console is a utility crate that provides console functionalities for oma

It offers modules for printing stylized messages, managing pagers, displaying progress bars, and handling terminal writing utilities.

Features

  • Print: Stylized message printer with support for prefixes and automatic line wrapping.
  • Pager: Terminal pager with scrolling and searching capabilities.

Modules

  • pager: Implements a terminal pager with the crossterm and ratatui crates.
  • pb: Implements numerous styles of progress bars with the indicatif crate.
  • writer: Implements a formatted message writer to the terminal.
  • print: Implements a formatted message logger with support for different logging levels (normal, debug, error, etc.).

Dependencies

~0–16MB
~155K SLoC