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

#133 in #cli-applications


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

~190KB