byte_size/
lib.rs

1
2//! Byte Size is a library that can compress short strings more efficiently than smaz, at the expense of extra runtime cost.
3//!
4//! See [readme](https://github.com/ray33ee/byte-size/blob/main/readme.md) for more information
5
6extern crate core;
7
8mod ir;
9mod iterator;
10mod tests;
11mod serde;
12mod map;
13mod bi;
14
15///Contains the `Builder` struct used to construct `Engine`s
16pub mod builder;
17
18///Contains the `Engine` struct used to compress and decompress
19pub mod engine;
20
21///Contains all possible error types raised by the decompressor
22pub mod error;
23
24///Convenience function to compress using default options
25pub use crate::engine::compress;
26
27///Convenience function to compress using default options
28pub use crate::engine::decompress;
29
30pub use crate::error::Result;