#lorem #rusty #generate #random #lib #lorem-ipsum #fleur

lorem-rustum

A simple lib for generating lorem-ipsum with a rusty fleur

5 releases

0.0.5 Apr 13, 2024
0.0.4 Apr 13, 2024
0.0.3 Apr 13, 2024
0.0.2 Apr 4, 2024
0.0.1 Apr 4, 2024

#3 in #lorem

Download history 6/week @ 2024-08-23 9/week @ 2024-08-30 2/week @ 2024-09-06 3/week @ 2024-09-13 31/week @ 2024-09-20 10/week @ 2024-09-27 6/week @ 2024-10-04 11/week @ 2024-10-11 4/week @ 2024-10-18 1/week @ 2024-10-25 7/week @ 2024-11-01 3/week @ 2024-11-08 4/week @ 2024-11-15 5/week @ 2024-11-22 3/week @ 2024-11-29 75/week @ 2024-12-06

87 downloads per month
Used in 3 crates

MIT license

15KB
302 lines

Lorem Rustum

A simple lib for generating random lorem-ipsum with a rusty fleur

Installation

cargo add lorem-rustum

Quict Start

use lorem_rustum::LoremRustum;

let lorem = LoremRustum::new(42);
println!("{}", lorem.to_string());

Other examples

use lorem_rustum::{LoremRustum, lorem};

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

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

assert_ne!(text1, text2);

let text3 = lorem!(156);
let text4 = lorem!();   // similar to LoremRustum::default().to_string()

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

Dependencies

~320KB