[[bench]]
harness = false
name = "count_frequencies_benchmark"
path = "benches/count_frequencies_benchmark.rs"
[[bench]]
harness = false
name = "discrete_entropy_benchmark"
path = "benches/discrete_entropy_benchmark.rs"
[[bench]]
harness = false
name = "unified_discrete_entropy_benchmark"
path = "benches/unified_discrete_entropy_benchmark.rs"
[[bench]]
harness = false
name = "unified_kernel_entropy_benchmark"
path = "benches/unified_kernel_entropy_benchmark.rs"
[dependencies.bytemuck]
features = ["derive"]
version = "1.14"
[dependencies.futures-intrusive]
version = "0.5"
[dependencies.kiddo]
version = "5.2.0"
[dependencies.ndarray]
version = "0.17"
[dependencies.ndarray-linalg]
features = ["openblas-static"]
version = "0.18.1"
[dependencies.ndarray-stats]
version = "0.7.0"
[dependencies.plotters]
version = "0.3.7"
[dependencies.pollster]
version = "0.3"
[dependencies.rand]
version = "0.8"
[dependencies.rand_distr]
version = "0.4"
[dependencies.statrs]
version = "0.16"
[dependencies.wgpu]
version = "26.0"
[dev-dependencies.approx]
version = "0.5"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.ndarray]
version = "0.17"
[dev-dependencies.rand]
version = "0.8"
[dev-dependencies.rand_distr]
version = "0.4"
[dev-dependencies.rstest]
version = "0.26.1"
[dev-dependencies.serde_json]
version = "1.0"
[[example]]
name = "ansb_api_example"
path = "examples/ansb_api_example.rs"
[[example]]
name = "discrete_entropy_example"
path = "examples/discrete_entropy_example.rs"
[[example]]
name = "gaussian_kernel_analysis"
path = "examples/gaussian_kernel_analysis.rs"
[[example]]
name = "kernel_entropy_example"
path = "examples/kernel_entropy_example.rs"
[features]
default = []
fast_exp = []
gpu = []
[lib]
name = "infomeasure"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["mathematics", "science"]
description = "Information theory measures and entropy calculations for Rust"
documentation = "https://docs.rs/infomeasure"
edition = "2024"
homepage = "https://docs.rs/infomeasure"
keywords = ["entropy", "information-theory", "mutual-information", "information-measures", "statistics"]
license = "MIT OR Apache-2.0"
name = "infomeasure"
readme = "README.md"
repository = "https://codeberg.org/cbueth/infomeasure-rs"
version = "0.1.0-alpha.1"
[package.metadata.docs.rs]
rustdoc-args = ["--html-in-header", "katex-header.html"]
[[test]]
name = "all_tests"
path = "tests/all_tests.rs"
[[test]]
name = "fast_exp_accuracy_test"
path = "tests/fast_exp_accuracy_test.rs"
[[test]]
name = "python_interface_test"
path = "tests/python_interface_test.rs"
[[test]]
name = "python_validation_discrete_estimators"
path = "tests/python_validation_discrete_estimators.rs"
[[test]]
name = "test_helpers"
path = "tests/test_helpers.rs"