7 releases

0.3.3 Dec 7, 2018
0.3.2 Jan 8, 2018
0.3.1 Nov 19, 2016
0.2.1 Oct 20, 2016
0.1.1 Sep 16, 2016

#17 in #everything

MIT license

9KB
242 lines

Chickenize for Rust

Build Status License crates.io

Chickenize everything

Example

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.

No runtime deps