11 releases (5 breaking)

Uses old Rust 2015

0.6.2 Jan 28, 2017
0.6.1 Jan 28, 2017
0.5.0 Jan 25, 2017
0.4.1 Dec 30, 2016
0.1.2 Nov 19, 2016

#114 in #cli-applications

Download history 2/week @ 2024-04-12 1/week @ 2024-04-19 5/week @ 2024-05-10 8/week @ 2024-05-17 3/week @ 2024-05-24 1/week @ 2024-05-31 2/week @ 2024-06-07 6/week @ 2024-06-14 5/week @ 2024-06-21 1/week @ 2024-06-28 38/week @ 2024-07-05 15/week @ 2024-07-26

53 downloads per month
Used in rzbackup

MIT license

25KB
1K SLoC

Rust Output

This crate provides some basic functionality for managing output for CLI applications written in Rust. It is currently at a very early stage of development.


lib.rs:

Simple tool for user-friendly output in Rust CLI programs.

The main goal is to enable programs to provide feedback about their progress to users, in a more advanced way than outputting lines. This library concerns itself with stderr and lets stdout be used for direct output.

The central concept is that a message can be logged "permanently" or "temporarily". Temporary messages will be removed or replaced, whereas permament messages will remain on screen. Permanent messages will appear above any temporary message which is currently present.

To use, add it to your Cargo.toml:

[dependencies]
output = "*"

Dependencies

~185KB