tegen 0.1.0

tegen is a Rust library designed to generate text from a given template.
Documentation

tegen

tegen is a Rust library designed to generate fast text from a template. (heavily inspired from liderman's text generator)

Usage

use tegen::TextGenerator;

fn main() {
    let tg = TextGenerator::new();

    println!("{}", tg.generate("{Good {night|morning|evening|day}|Hello|Greetings|Howdy|What's up}, {friend|mate}! {How are you|How's it going}?".to_string()));
}

Features