Crates.io | ansi-colors-macro |
lib.rs | ansi-colors-macro |
version | 0.1.2 |
source | src |
created_at | 2021-03-11 03:12:54.707634 |
updated_at | 2021-03-11 17:55:01.144872 |
description | A proc-macro for creating ANSI colored strings at compile time |
homepage | |
repository | https://github.com/SirWindfield/ansi-colors-macro-rs |
max_upload_size | |
id | 367066 |
size | 22,020 |
A proc-macro for creating colored ANSI strings at compile-time.
use ansi_colors_macro::ansi_string;
const DONE_MSG: &str = ansi_string!("{green Done}");