fancyer 0.2.1

Easily print colored text at runtime.
Documentation
  • Coverage
  • 100%
    2 out of 2 items documented1 out of 1 items with examples
  • Size
  • Source code size: 9.24 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 262.03 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Foxcirc/fancy
    2 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Foxcirc

This crate provides a runtime version of the colorize! macro from the fancy crate.

It can be used to dynamically create colored strings at runtime.

let msg = colorize("[blue|b]Hello [:u|red]world[:b]!".into());
println!("{}", msg);