exhibit 0.1.0

A small Rust library for controlling the display of any Displayable type
Documentation

exhibit

exhibit is a small Rust library for controlling the display of any Displayable type.

The main functionality is provided by the ExhibitExt trait.

Example

use exhibit::ExhibitExt;

let text = "\x1b[31mHello, 🌎!\x1b[0m"
    .exhibit()
    .redact(true);

assert_eq!(
    text.to_string(),
    "\x1b[31m▆▅▆▆▅, ▇▇!\x1b[0m\n",
);