#ascii-art #convert #convert-text

yanked test-to-ascii-art

A simple program to convert text to ASCII art

1 unstable release

0.1.0 Jun 28, 2023

#32 in #convert-text

MIT license

17KB
919 lines

Usage

I made this crate for my project, if you need larger text in terminal, you need to use ascii art characters. This simple crate provides one function to make a ascii art string.

fn convert (input: String) -> Result<String, String>

Usage in Rust

use text_to_ascii_art::convert;

fn main () {
  match convert("Hello in ascii".to_string()) {
      Ok(string) => println!("{}", string),
      Err(err) => println!("Error: {}", err),
  }
}
[dependencies]
text-to-ascii-art="0.1"

Examples: gymnasium/examples/

No runtime deps