[package]
authors = ["Robert Bamler <robert.bamler@uni-tuebingen.de>"]
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/"
version = "0.2.6"
[lib]
crate-type = ["rlib", "cdylib"]
name = "constriction"
[features]
default = ["std"]
std = ["probability"]
pybindings = ["ndarray", "numpy", "pyo3"]
[dependencies]
hashbrown = "0.12.3"
num = "0.4"
smallvec = "1.6.1"
probability = {version = "0.18", optional = true}
ndarray = {version = "0.15", optional = true}
numpy = {version = "0.17.1", optional = true}
pyo3 = {version = "0.17.1", features = ["extension-module"], optional = true}
[dev-dependencies]
byteorder = "1.4.2"
criterion = "0.3"
rand = "0.8.3"
rand_pcg = "0.3"
rand_xoshiro = "0.6"
[[bench]]
harness = false
name = "lookup"