6 releases
0.1.5 | May 11, 2021 |
---|---|
0.1.4 | May 11, 2021 |
#1481 in Text processing
15KB
68 lines
mocker
Rust library for transforming text into lowercase and uppercase letters, resembling the Spongebob Mock.
example
printing Hello, world! in an alternating case.
use mocker::AlternatingMocker;
fn main() {
let text = "Hello, world!";
let mut mocker = AlternatingMocker::new();
let mocked = mocker::mock(&text, &mut mocker);
println!("{}", mocked);
}
Dependencies
~310KB