2 releases
0.1.1 | Aug 18, 2021 |
---|---|
0.1.0 | Aug 18, 2021 |
#582 in Command-line interface
66 downloads per month
Used in 3 crates
87KB
447 lines
neofiglet
The FIGlet library all the cool kids use!
Note (Pretty important)
This is currently in a full rewrite since this is easier than hack good kerning into this version. (See #3)
Therefore, the API will completely break within the next few weeks as I will release a 1.0.0
.
I mean, this is not a problem as this version is feature-complete, just that if you can wait a few weeks... good stuff will come.
Example
use neofiglet::FIGfont;
fn main() {
let standard_font = FIGfont::standard().unwrap();
let figure = standard_font.convert("Hello Rust");
assert!(figure.is_some());
println!("{}", figure.unwrap());
}
License
neofiglet is based on figlet-rs, which sadly is not maintained anymore.
rs-figlet is distributed under the terms of the Apache License (Version 2.0).