huff_coding 1.0.0

An implementation of the Huffman coding algorithm, enabling one to create a Huffman tree with any alphabet they choose.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/// Struct representing a branch in the [`HuffTree`][crate::tree::HuffTree] struct. 
pub mod branch;
/// Struct representing a [`HuffBranch`'s][crate::tree::branch::HuffBranch] data.
pub mod leaf;
/// Traits signyfing that a type can be stored in a [`HuffTree`][crate::tree::HuffTree] as a letter.
pub mod letter;

mod branch_heap;
mod tree_inner;

pub use tree_inner::{
    HuffTree,
    FromBinError
};