Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yuanbohan/rs-figlet
Rust implementation of FIGlet (http://www.figlet.org/) to create ascii art
https://github.com/yuanbohan/rs-figlet
ascii-art figlet rust
Last synced: 8 days ago
JSON representation
Rust implementation of FIGlet (http://www.figlet.org/) to create ascii art
- Host: GitHub
- URL: https://github.com/yuanbohan/rs-figlet
- Owner: yuanbohan
- License: other
- Created: 2019-06-15T10:50:55.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-02-15T13:27:58.000Z (over 1 year ago)
- Last Synced: 2024-03-23T02:21:33.117Z (8 months ago)
- Topics: ascii-art, figlet, rust
- Language: Rust
- Homepage:
- Size: 111 KB
- Stars: 41
- Watchers: 0
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# figlet-rs
[![CI](https://travis-ci.com/yuanbohan/rs-figlet.svg?branch=master)](https://travis-ci.com/yuanbohan/rs-figlet)
[![docs](https://docs.rs/figlet-rs/badge.svg)](https://docs.rs/figlet-rs)
[![crates.io](https://img.shields.io/crates/v/figlet-rs.svg)](https://crates.io/crates/figlet-rs)A Rust library for [FIGlet](http://www.figlet.org/) to generate ascii art.
# Example
```rust
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());
}
```![figlet-sample](./figlet-sample.png)
# License
rs-figlet is distributed under the terms of the Apache License (Version 2.0).
See [LICENSE-APACHE](LICENSE-APACHE) and [COPYRIGHT](COPYRIGHT) for details.