11 releases (1 stable)

1.0.0 May 4, 2024
0.5.3 May 3, 2024
0.4.1 Feb 1, 2023
0.3.1 Jan 30, 2023
0.1.0 Jan 20, 2023

#717 in Rust patterns


Used in wargo

MIT license

17KB
355 lines

Cargo-like printing

Easily print beautiful formatted messages like Cargo does.

Examples

use cprint::{cprint, Color};

cprint!("Using cprint crate!");

Coloration

For all signatures, you can specify the color of the title with a predefined color from the colored::Color enum or with RGB values (r, g, b). To specify the color use => at the end of the strings.

Macros

Dependencies

~0.1–6.5MB
~33K SLoC