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
Download history 23/week @ 2023-10-14 26/week @ 2023-10-21 41/week @ 2023-10-28 25/week @ 2023-11-04 32/week @ 2023-11-11 25/week @ 2023-11-18 47/week @ 2023-11-25 31/week @ 2023-12-02 20/week @ 2023-12-09 31/week @ 2023-12-16 40/week @ 2023-12-23 10/week @ 2023-12-30 23/week @ 2024-01-06 26/week @ 2024-01-13 36/week @ 2024-01-20 38/week @ 2024-01-27

124 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

~180KB