Crates.io | figlet-rs |
lib.rs | figlet-rs |
version | 0.1.5 |
source | src |
created_at | 2019-06-23 15:49:19.777524 |
updated_at | 2023-02-14 15:35:24.549763 |
description | Rust implementation of FIGlet to create ascii art |
homepage | https://github.com/yuanbohan/rs-figlet |
repository | https://github.com/yuanbohan/rs-figlet |
max_upload_size | |
id | 143006 |
size | 61,156 |
A Rust library for FIGlet to generate ascii art.
use figlet_rs::FIGfont;
fn main() {
let standard_font = FIGfont::standard().unwrap();
let figure = standard_font.convert("Hello Rust");
assert!(figure.is_some());
println!("{}", figure.unwrap());
}
rs-figlet is distributed under the terms of the Apache License (Version 2.0).
See LICENSE-APACHE and COPYRIGHT for details.