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

#550 in Rust patterns

Download history 7/week @ 2024-02-19 5/week @ 2024-02-26 8/week @ 2024-03-11 3/week @ 2024-03-18 42/week @ 2024-04-01 2/week @ 2024-04-08 631/week @ 2024-04-29 26/week @ 2024-05-06

657 downloads per month
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–9.5MB
~53K SLoC