Crates.io | lorem-rustum |
lib.rs | lorem-rustum |
version | 0.0.5 |
source | src |
created_at | 2024-04-04 07:42:15.210094 |
updated_at | 2024-04-13 13:40:07.206148 |
description | A simple lib for generating lorem-ipsum with a rusty fleur |
homepage | https://github.com/ProstoyVadila/lorem_rustum |
repository | https://github.com/ProstoyVadila/lorem_rustum |
max_upload_size | |
id | 1195951 |
size | 16,620 |
A simple lib for generating random lorem-ipsum with a rusty fleur
cargo add lorem-rustum
use lorem_rustum::LoremRustum;
let lorem = LoremRustum::new(42);
println!("{}", lorem.to_string());
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()
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