Crates.io | chickenize |
lib.rs | chickenize |
version | 0.3.3 |
source | src |
created_at | 2016-09-16 06:23:08.377256 |
updated_at | 2018-12-07 21:30:42.847519 |
description | Chickenize everything |
homepage | |
repository | https://github.com/dginev/rust-chickenize |
max_upload_size | |
id | 6511 |
size | 18,920 |
Chickenize everything
extern crate chickenize;
use chickenize::Chickenize;
let example = "The Vice-president didn't like his style.";
let chickenized = example.chicken();
// chickenized == "chicken chicken-chicken chicken'chicken chicken chicken chicken."
let buffalaxed = example.buffalo();
// buffalaxed == "buffalo buffalo-buffalo buffalo'buffalo buffalo buffalo buffalo."
let anonymized = example.anonymize("secret");
// anonymized == "secret secret-secret secret'secret secret secret secret."
let lorem_ipsum = example.lorem_ipsum();
// lorem_ipsum == "Lorem ipsum-dolor sit'amet consectetur adipiscing elit."
FFI wrappers are available under examples
, inspired by the great rust-ffi-examples showcase.