mini-mcmc 0.8.2

A compact Rust library for Markov Chain Monte Carlo (MCMC) methods with GPU support.
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 = "2021"
name = "mini-mcmc"
version = "0.8.2"
authors = ["Matteo Gätzner <matteo.gatzner@gmail.com>"]
build = false
exclude = ["target/*"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A compact Rust library for Markov Chain Monte Carlo (MCMC) methods with GPU support."
homepage = "https://github.com/MatteoGaetzner/mini-mcmc"
documentation = "https://docs.rs/mini-mcmc"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/MatteoGaetzner/mini-mcmc"

[features]
arrow = ["dep:arrow"]
csv = ["dep:csv"]
default = []
parquet = [
    "dep:parquet",
    "dep:arrow",
]
wgpu = ["burn/wgpu"]

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

[[example]]
name = "gauss_mh"
path = "examples/gauss_mh.rs"

[[example]]
name = "minimal_hmc"
path = "examples/minimal_hmc.rs"

[[example]]
name = "minimal_mh"
path = "examples/minimal_mh.rs"

[[example]]
name = "minimal_nuts"
path = "examples/minimal_nuts.rs"

[[example]]
name = "mixture_gibbs"
path = "examples/mixture_gibbs.rs"

[[example]]
name = "poisson_mh"
path = "examples/poisson_mh.rs"

[[example]]
name = "rosenbrock3d_hmc"
path = "examples/rosenbrock3d_hmc.rs"

[[example]]
name = "rosenbrock_mh"
path = "examples/rosenbrock_mh.rs"

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

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

[dependencies.arrow]
version = "56.2"
optional = true

[dependencies.burn]
version = "0.18"
features = [
    "autodiff",
    "ndarray",
]

[dependencies.csv]
version = "1.3"
optional = true

[dependencies.indicatif]
version = "0.18"

[dependencies.ndarray]
version = "0.16"

[dependencies.ndarray-stats]
version = "0.6"

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

[dependencies.parquet]
version = "56.2"
optional = true

[dependencies.rand]
version = "0.9"
features = ["small_rng"]

[dependencies.rand_distr]
version = "0.5"

[dependencies.rayon]
version = "1.11"

[dependencies.rustfft]
version = "6.4"

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

[dev-dependencies.ndarray]
version = "0.16"
features = ["approx"]

[dev-dependencies.plotly]
version = "0.13"

[dev-dependencies.tempfile]
version = "3.23"

[profile.dev]
debug = 2

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
debug = 0
panic = "abort"