[[bench]]
harness = false
name = "bandit_benchmarks"
path = "benches/bandit_benchmarks.rs"
[dependencies.approx]
version = "0.5"
[dependencies.indexmap]
version = "2.10.0"
[dependencies.nalgebra]
version = "0.34"
[dependencies.ordered-float]
version = "5.0"
[dependencies.rand]
version = "0.9"
[dependencies.rand_distr]
version = "0.5"
[dependencies.thiserror]
version = "2.0"
[dev-dependencies.criterion]
version = "0.7"
[dev-dependencies.proptest]
version = "1.7"
[dev-dependencies.rand_xoshiro]
version = "0.7"
[[example]]
name = "algorithm_comparison"
path = "examples/algorithm_comparison.rs"
[[example]]
name = "batch_operations"
path = "examples/batch_operations.rs"
[[example]]
name = "contextual_linucb"
path = "examples/contextual_linucb.rs"
[[example]]
name = "linear_comparison"
path = "examples/linear_comparison.rs"
[lib]
name = "trashpanda"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["algorithms", "science"]
description = "A Rust library for contextual multi-armed bandits"
edition = "2024"
keywords = ["bandit", "optimization"]
license = "Apache-2.0 OR MIT"
name = "trashpanda"
readme = "README.md"
repository = "https://github.com/mjkoo/trashpanda"
rust-version = "1.87.0"
version = "0.1.0"
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"
[[test]]
name = "test_epsilon_greedy"
path = "tests/test_epsilon_greedy.rs"
[[test]]
name = "test_random_policy"
path = "tests/test_random_policy.rs"