pattern-generator 0.1.1

A Rust crate for solving Sudoku puzzles. It takes a Sudoku puzzle input and provides the solved grid.
Documentation
  • Coverage
  • 0%
    0 out of 2 items documented0 out of 1 items with examples
  • Size
  • Source code size: 14.77 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 257.77 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 7s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • NithinKonda

ASCII Art Generator

A simple Rust crate for generating ASCII art text patterns.

Installation

Add this to your Cargo.toml:

[dependencies]

ascii_art_generator = "0.1.0"

Usage

As a library

use ascii_art_generator::generate_pattern;

fn main() {
    let pattern = generate_pattern("HELLO - *");
    println!("{}", pattern);
}

As a binary

cargo install ascii_art_generator

ascii_art_generator

Then follow the prompts to enter your text and symbol.

Examples

Input: HELLO - * Output:

*   * ***** *    *      *****
*   * *     *    *      *   *
***** ***** *    *      *   *
*   * *     *    *      *   *
*   * ***** ***** ***** *****

License

This project is licensed under the MIT License - see the LICENSE file for details.