lorem-rustum 0.0.4

A small tool for generating lorem-ipsum with a rusty fleur
Documentation

Lorem Rustum

A small tool for generating random lorem-ipsum with a rusty fleur

Quict Start

Installation

cargo add lorem-rustum

Usage

use lorem_rustum::LoremRustum;

fn main() {
    let length = 25;
    let lorem = LoremRustum::new(length);
    let full_lorem = LoremRustum::default();

    println!("{}", lorem.to_string());
    println!("{}", full_lorem.to_string());
}

let mut lorem = LoremRustum::default();
let text = lorem.to_string();

lorem.shuffle();
let new_text = lorem.to_string();

assert_ne!(text, new_text);

Example output

checking heap rust-analyzer cargo package manager control over memory allocation static borrowing wasm the most admired language fast and reliable impl derive Ferris mascot actix multiple threads can work on shared data without introducing memory-related issues to_owned() no garbage collector safety sqlx scope mod rocket concurrency pub code execution loved by developers rusty stack async efficient and organized development