hfmn

Crates.iohfmn
lib.rshfmn
version
sourcesrc
created_at2024-11-13 22:24:28.619505
updated_at2024-11-13 22:55:59.143682
descriptionA flexible Huffman coding implementation
homepage
repositoryhttps://gitlab.com/PirateSands2/hfmn
max_upload_size
id1447174
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
(PirateSands2)

documentation

README

hfmn

Pipeline Status Latest Version

hfmn is a flexible Huffman coding implementation

Usage

Add this to your Cargo.toml:

[dependencies]
hfmn = "0.15"

Then:

use hfmn::Coding;

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

let encoded = coding.encode(data);

println!("{:?}", encoded);
Commit count: 26

cargo fmt