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

#541 in Rust patterns

Download history 11/week @ 2024-07-01 9/week @ 2024-07-08 8/week @ 2024-07-22 2/week @ 2024-07-29 10/week @ 2024-09-09 15/week @ 2024-09-23 4/week @ 2024-09-30 53/week @ 2024-10-14

72 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
~42K SLoC