[package]
edition = "2024"
rust-version = "1.85.0"
name = "arithmetic-coding"
version = "0.5.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "fast and flexible arithmetic coding library"
readme = "README.md"
keywords = [
"compression",
"encoding",
"arithmetic-coding",
"lossless",
]
categories = [
"compression",
"encoding",
"parsing",
]
license = "MIT"
repository = "https://github.com/danieleades/arithmetic-coding"
[lib]
name = "arithmetic_coding"
path = "src/lib.rs"
[[example]]
name = "concatenated"
path = "examples/concatenated.rs"
[[example]]
name = "fenwick_adaptive"
path = "examples/fenwick_adaptive.rs"
[[example]]
name = "fenwick_context_switching"
path = "examples/fenwick_context_switching.rs"
[[example]]
name = "fixed_length"
path = "examples/fixed_length.rs"
[[example]]
name = "integer"
path = "examples/integer.rs"
[[example]]
name = "max_length"
path = "examples/max_length.rs"
[[example]]
name = "sherlock"
path = "examples/sherlock.rs"
[[example]]
name = "symbolic"
path = "examples/symbolic.rs"
[[test]]
name = "concatenated"
path = "tests/concatenated.rs"
[[test]]
name = "fixed_length"
path = "tests/fixed_length.rs"
[[test]]
name = "fuzz"
path = "tests/fuzz.rs"
[[test]]
name = "max_length"
path = "tests/max_length.rs"
[[test]]
name = "precision_checking"
path = "tests/precision_checking.rs"
[[test]]
name = "sherlock"
path = "tests/sherlock.rs"
[[bench]]
name = "sherlock"
path = "benches/sherlock.rs"
harness = false
[dependencies.arithmetic-coding-core]
version = "0.4.2"
[dependencies.bitstream-io]
version = "4.4.0"
[dependencies.thiserror]
version = "2.0.18"
[dev-dependencies.criterion]
version = "0.7.0"
[dev-dependencies.test-case]
version = "3.0.0"
[lints.clippy]
all = "deny"
cargo = "deny"
nursery = "warn"
pedantic = "warn"