Crates.io | neofiglet |
lib.rs | neofiglet |
version | 0.1.1 |
source | src |
created_at | 2021-08-18 19:12:51.12336 |
updated_at | 2021-08-18 19:42:48.188067 |
description | The FIGlet libraries all the cool kids use |
homepage | https://github.com/lquenti/neofiglet |
repository | https://github.com/lquenti/neofiglet |
max_upload_size | |
id | 439211 |
size | 193,439 |
The FIGlet library all the cool kids use!
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.
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());
}
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).