constriction 0.5.0

Entropy coders for research and production (Rust and Python).
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2018"
rust-version = "1.85"
name = "constriction"
version = "0.5.0"
authors = ["Robert Bamler <robert.bamler@uni-tuebingen.de>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Entropy coders for research and production (Rust and Python)."
homepage = "https://bamler-lab.github.io/constriction/"
documentation = "https://docs.rs/constriction/"
readme = "README-rust.md"
keywords = [
    "compression",
    "entropy-coding",
    "range-coding",
    "python",
    "machine-learning",
]
categories = [
    "compression",
    "science",
    "no-std",
]
license = "MIT OR Apache-2.0 OR BSL-1.0"
repository = "https://github.com/bamler-lab/constriction/"

[features]
default = ["std"]
pybindings = [
    "numpy",
    "pyo3",
]
std = []

[lib]
name = "constriction"
crate-type = [
    "rlib",
    "cdylib",
]
path = "src/lib.rs"

[[test]]
name = "issue52"
path = "tests/issue52.rs"

[[test]]
name = "random_data"
path = "tests/random_data.rs"

[[test]]
name = "readme"
path = "tests/readme.rs"

[[bench]]
name = "lookup"
path = "benches/lookup.rs"
test = true
harness = false

[dependencies.hashbrown]
version = "0.17.1"

[dependencies.libm]
version = "0.2.6"

[dependencies.num-traits]
version = "0.2.15"
features = ["libm"]
default-features = false

[dependencies.numpy]
version = "0.29"
optional = true

[dependencies.probability]
version = "0.20"

[dependencies.pyo3]
version = "0.29.0"
features = ["extension-module"]
optional = true

[dependencies.smallvec]
version = "1.15.1"

[dev-dependencies.byteorder]
version = "1.4.2"

[dev-dependencies.criterion]
version = "0.8.2"

[dev-dependencies.rand]
version = "0.10.2"

[dev-dependencies.rand_pcg]
version = "0.10.2"

[dev-dependencies.rand_xoshiro]
version = "0.8.1"