text-to-ascii-art 0.1.2

A simple program to convert text to ASCII art.
Documentation
text-to-ascii-art-0.1.2 has been yanked.

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 function to make a ascii art string from text and to join 2 ascii art strings (they both need to be rectangle for it to work).

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

If you cargo run this crate you can enter input text and it will just print and than exit.

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"

TODO

  • kindof monospace
  • full monospace
  • add some more characters
  • eliminate the need for spacing