Registry / utility / color-print

color-print

JSON →
library0.3.7rscratesunverified

Compile-time terminal string colorization using HTML-like syntax.

# Cargo.toml [dependencies] color-print = "0.3.7"
INSTALL
IMPORT
SIG · COLOR-PRINT
C
color-print
utilityrustv0.3.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

cprint
✓ use color_print::cprint;

Prints colored and styled text to the terminal.

use color_print::cprint; fn main() { cprint!("<green>Hello</green>, <bold>world</bold>!"); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.7latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
color-print — cargo add color-print · libregistry