[[bench]]
harness = false
name = "lookup"
path = "benches/lookup.rs"
test = true
[dependencies.hashbrown]
version = "0.16.1"
[dependencies.libm]
version = "0.2.6"
[dependencies.num-traits]
default-features = false
features = ["libm"]
version = "0.2.15"
[dependencies.numpy]
optional = true
version = "0.27"
[dependencies.probability]
version = "0.20"
[dependencies.pyo3]
features = ["extension-module"]
optional = true
version = "0.27.2"
[dependencies.smallvec]
version = "1.15.1"
[dev-dependencies.byteorder]
version = "1.4.2"
[dev-dependencies.criterion]
version = "0.5.1"
[dev-dependencies.rand]
version = "0.9.2"
[dev-dependencies.rand_pcg]
version = "0.9"
[dev-dependencies.rand_xoshiro]
version = "0.7"
[features]
default = ["std"]
pybindings = ["numpy", "pyo3"]
std = []
[lib]
crate-type = ["rlib", "cdylib"]
name = "constriction"
path = "src/lib.rs"
[package]
authors = ["Robert Bamler <robert.bamler@uni-tuebingen.de>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["compression", "science", "no-std"]
description = "Entropy coders for research and production (Rust and Python)."
documentation = "https://docs.rs/constriction/"
edition = "2018"
homepage = "https://bamler-lab.github.io/constriction/"
keywords = ["compression", "entropy-coding", "range-coding", "python", "machine-learning"]
license = "MIT OR Apache-2.0 OR BSL-1.0"
name = "constriction"
readme = "README-rust.md"
repository = "https://github.com/bamler-lab/constriction/"
rust-version = "1.75"
version = "0.4.2"
[[test]]
name = "issue52"
path = "tests/issue52.rs"
[[test]]
name = "random_data"
path = "tests/random_data.rs"
[[test]]
name = "readme"
path = "tests/readme.rs"