termfmt 0.1.1

Opinionated formatting for library primatives with color and outputing to the terminal.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use std::fmt::Display;

pub use {color::TermStyle, output::TermOutput};

pub trait TermFmt<Value>: Display {
    fn termfmt(value: Value) -> Self;
}

#[cfg(feature = "chrono")]
pub mod chrono;

#[cfg(feature = "command")]
pub mod command;

mod color;
mod output;