cluColor 0.1.3

Methods for formatted recording of color output.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

#[macro_use]
extern crate clucolor;

pub fn main() {
	//blue string
	let str_colored = color!(blue, "test");
	println!("{}", str_colored);
	
	//bold blue string
	let str_colored = color!(blue, bold, "test");
	println!("{}", str_colored);
	
	//bright_blue bold string
	let str_colored = color!(bright_blue, bold, "test");
	println!("{}", str_colored);
}