Skip to content

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

License

Notifications You must be signed in to change notification settings

ProstoyVadila/lorem_rustum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages