Crates.io | fancy_mocker |
lib.rs | fancy_mocker |
version | 0.1.0 |
source | src |
created_at | 2021-11-27 03:26:24.390721 |
updated_at | 2021-11-27 03:26:24.390721 |
description | A library for transforming text into alternating uppercase and lowercase letters, resembling the Spongebob Mock Meme. |
homepage | |
repository | https://github.com/lewskii/fancy_mocker |
max_upload_size | |
id | 488242 |
size | 6,893 |
A Rust library for transforming text into alternating uppercase and lowercase letters, resembling the Spongebob Mock Meme.
Inspired by my love for the meme, as well as a similar library by inxanedev, which unfortunately does not support the way I use the meme. To keep the output readable, I always set the letters 'L' and 'i' to uppercase and lowercase, respectively.
extern crate fancy_mocker;
fn main() {
let hello = "Hello, world!";
let ironic_hello = fancy_mocker::mock(hello);
println!("{}", ironic_hello);
}
> cargo run
HeLLo, WoRLd!