rust-colors 0.1.0

A library for parsing ANSI Strings to colors.
Documentation

rust-colors

rust-colors is a library for parsing ANSI Strings to colors.

Example

use rust_colors::{Ansi, Color};

fn my_function() {
let colors = Ansi;

println!(
"Roses are {}, the sky is {}, I like {} vegetables, but the color {} is even better!",
colors.red("red"),
colors.blue("blue"),
colors.green("green"),
colors.black("black"),
);
}

Github

Git repo RedIsGaming rust-colors