hfmn 0.1.0

A flexible Huffman coding implementation
Documentation
# hfmn

![Pipeline Status](https://gitlab.com/PirateSands2/hfmn/badges/trunk/pipeline.svg)
![Latest Version](https://crates.io/crates/hfmn)

**hfmn is a flexible Huffman coding implementation**

# Usage

Add this to your Cargo.toml:
```toml
[dependencies]
hfmn = "0.15"
```

Then:

```rust
use hfmn::Coding;

let data = "An arbitrary test string";
let coding = Coding::from_data(data).unwrap();

let encoded = coding.encode(data);

println!("{:?}", encoded);
```

# Flags
hfmn has the following features:

- `fast-decoding`: (Default) Uses a faster, more memory-consuming decoding algorithm.
- `mem-efficient-decoding`: Uses a more memory efficient (but slower) decoding algorithm.