Crates.io | zalgo |
lib.rs | zalgo |
version | 0.2.0 |
source | src |
created_at | 2016-03-29 05:32:48.201479 |
updated_at | 2018-06-24 03:17:28.918008 |
description | A crate for generating Zalgo text with defined parameters. |
homepage | https://github.com/zeyla/zalgo.rs |
repository | https://github.com/zeyla/zalgo.rs.git |
max_upload_size | |
id | 4604 |
size | 24,180 |
Rust crate for generating Zalgo text.
This features both a library and a binary, which can be used via:
cargo run --bin zalgo test text
Zalgo is an Internet legend about an ominous entity believed to cause insanity, death and destruction of the world, similar to the creature Cthulhu created by H.P. Lovecraft in the 1920s. Zalgo is often associated with scrambled text on webpages and photos of people whose eyes and mouth have been covered in black.
-- knowyourmeme
Add the following dependency to your Cargo.toml:
zalgo = "0.2"
And include it in your project:
extern crate zalgo;
Generate Zalgo text with up/down (no middle) and mini definitions:
use zalgo::ZalgoSize;
let text = zalgo::gen("test", true, false, true, ZalgoSize::Mini);
To view more examples, check out the examples directory.
License info in LICENSE.md. Long story short, ISC.