# 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.75" name = "constriction" version = "0.4.1" authors = ["Robert Bamler "] build = 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/" [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.15.0" [dependencies.libm] version = "0.2.6" [dependencies.num-traits] version = "0.2.15" features = ["libm"] default-features = false [dependencies.numpy] version = "0.22" optional = true [dependencies.probability] version = "0.20" [dependencies.pyo3] version = "0.22.5" features = ["extension-module"] optional = true [dependencies.smallvec] version = "1.6.1" [dev-dependencies.byteorder] version = "1.4.2" [dev-dependencies.criterion] version = "0.5.1" [dev-dependencies.rand] version = "0.8.3" [dev-dependencies.rand_pcg] version = "0.3" [dev-dependencies.rand_xoshiro] version = "0.6" [features] default = ["std"] pybindings = [ "numpy", "pyo3", ] std = []