figlet-rs 0.1.3

Rust implementation of [FIGlet](http://www.figlet.org/) to create ascii art
Documentation

figlet-rs

CI docs crates.io

A Rust library for FIGlet to generate ascii art.

Example

use figlet_rs::FIGfont;

fn main() {
    let standard_font = FIGfont::standand().unwrap();
    let figure = standard_font.convert("FIGlet");
    assert!(figure.is_some());

    let small_font = FIGfont::from_file("resources/small.flf").unwrap();
    let figure = small_font.convert("FIGlet");
    assert!(figure.is_some());
}

Standard Font Example

Hello Rust

  _   _          _   _             ____                  _
 | | | |   ___  | | | |   ___     |  _ \   _   _   ___  | |_
 | |_| |  / _ \ | | | |  / _ \    | |_) | | | | | / __| | __|
 |  _  | |  __/ | | | | | (_) |   |  _ <  | |_| | \__ \ | |_
 |_| |_|  \___| |_| |_|  \___/    |_| \_\  \__,_| |___/  \__|

License

rs-figlet is distributed under the terms of the Apache License (Version 2.0).

See LICENSE-APACHE and COPYRIGHT for details.