ansi-term-codes 0.1.0

ANSI terminal escape code constants
Documentation
  • Coverage
  • 7.14%
    1 out of 14 items documented1 out of 1 items with examples
  • Size
  • Source code size: 3.39 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 684.62 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • lintel-rs/lintel
    6 0 1
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • macalinao

ansi-term-codes

Crates.io docs.rs CI License

ANSI terminal escape code constants. Zero-dependency, no_std compatible.

Usage

use ansi_term_codes::{BOLD, RED, RESET};

println!("{BOLD}{RED}error:{RESET} something went wrong");

Constants

  • Attributes: BOLD, DIM, ITALIC, UNDERLINE, RESET
  • Colors: RED, GREEN, YELLOW, BLUE, MAGENTA, CYAN
  • Bold colors: BOLD_RED, BOLD_GREEN

License

Apache-2.0