Expand description
use compressed_string::ComprString;

let raw = "It uses the deflate algorithm, which has a small header overhead, \
so it's suitable even for short-ish strings";

let compr = ComprString::new(raw);

assert_eq!(109, raw.len());
assert_eq!(84, compr.compressed_len());

println!("{}", compr);
let string = compr.to_string();

Structs

DEFLATE-compressed String