prodef 0.2.0

A simple Rust crate for handling probability distributions, primarily intended for use with Bayesian inference.
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 = "2024"
name = "prodef"
version = "0.2.0"
authors = ["Andreas J. Weiss <ajefweiss@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A simple Rust crate for handling probability distributions, primarily intended for use with Bayesian inference."
homepage = "https://github.com/ajefweiss/prodef-rs/"
readme = "README.md"
license = "MIT"
repository = "https://github.com/ajefweiss/prodef-rs/"

[package.metadata.docs.rs]
features = ["pyo3"]

[features]
pyo3 = [
    "dep:numpy",
    "dep:pyo3",
    "dep:rand_xoshiro",
]
pyo3_f32 = ["pyo3"]

[lib]
name = "prodef"
path = "src/lib.rs"

[[bench]]
name = "multinormal"
path = "benches/multinormal.rs"
harness = false

[[bench]]
name = "multivariate"
path = "benches/multivariate.rs"
harness = false

[[bench]]
name = "particle"
path = "benches/particle.rs"
harness = false

[dependencies.derive_more]
version = "2.1.1"
features = ["full"]

[dependencies.itertools]
version = "0.14.0"

[dependencies.nalgebra]
version = "0.34.2"
features = [
    "rayon",
    "serde-serialize",
]

[dependencies.num-traits]
version = "0.2.19"

[dependencies.numpy]
version = "0.28.0"
features = ["nalgebra"]
optional = true

[dependencies.pyo3]
version = "0.28.3"
features = ["multiple-pymethods"]
optional = true

[dependencies.rand]
version = "0.10.1"

[dependencies.rand_distr]
version = "0.6.0"

[dependencies.rand_xoshiro]
version = "0.8.0"
optional = true

[dependencies.rayon]
version = "1.12.0"

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_arrays]
version = "0.2.0"

[dependencies.thiserror]
version = "2.0.18"

[dev-dependencies.approx]
version = "0.5.1"

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

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