sponge_string 0.1.1

SpOnGe StRiNg In RuSt
Documentation
  • Coverage
  • 0%
    0 out of 2 items documented0 out of 1 items with examples
  • Size
  • Source code size: 3.5 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 974.54 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • dancojocaru2000/sponge_string_rs
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • dancojocaru2000

Crates.io

sponge_string_rs

HeY tHeRe! YoU cAn UsE tHiS cRaTe To CrEaTe SpOnGe TeXt.

InStAlLaTiOn

AdD tHe FoLlOwInG iN yOuR Cargo.toml:

[dependencies.sponge_string]
version = "*"

YoU cAn RePlAcE * wItH tHe VeRsIoN aT tHe ToP oF tHiS rEaDmE.

ExAmPlE

extern crate sponge_string;

use sponge_string::jumble;

fn main() {
    let stdin = std::io::stdin();

    loop {
        let mut line = "".to_owned();

        match stdin.read_line(&mut line) {
            Ok(_) => (),
            Err(e) => {
                println!("The following error has occured: {:?}", e);
                continue
            }
        }

        println!("{}", jumble(&line));
    }
}