Skip to content
Proyectos

Acerca de

A dead simple ANSI terminal color painting library for Rust.

Herramientas de desarrollo

Cómo se miden estas cifras

What you can do

  • This library makes simple things simple: use Paint and go!
  • Zero dependencies by default. It really is simple.
  • Zero allocations except as needed by opt-in wrapping.
  • Automatic Windows support for the vast majority (95%+) of Windows users.

Crecimiento de estrellas medido

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original
yansi logo  Yansi

A dead simple ANSI terminal color painting library.

Build Status Current Crates.io Version Documentation

Usage

In your Cargo.toml:

[dependencies]
yansi = "1.0"

In your source code:

use yansi::Paint;

println!("Testing, {}, {}, {}!",
    "Ready".bold(),
    "Set".black().on_yellow().invert().italic(),
    "STOP".white().on_red().bright().underline().bold());

> Testing, Ready, Set, STOP!

See the rustdocs for complete usage details.

Features

Why yet another ANSI terminal coloring library? Here are some reasons:

License

yansi is licensed under either of the following, at your option:

Explorar proyectos relacionados

Cargando…