Registry / cli / yansi
library1.0.1rscratesunverified

A dead simple ANSI terminal color painting library.

# Cargo.toml [dependencies] yansi = "1.0.1"
INSTALL
IMPORT
SIG · YANSI
Y
yansi
clirustv1.0.1
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.

Paint
use yansi::Paint;

Prints a green bold string to the terminal.

use yansi::Paint; fn main() { println!("{}", "Hello, world!".green().bold()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
49 hits · last 30 days
node
42
OpenAI (training)
1
Resources
yansi — cargo add yansi · libregistry