# 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 = "muxer"
version = "0.1.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Deterministic, multi-objective bandit-style routing primitives (windowed stats + Pareto selection)."
homepage = "https://github.com/arclabs561/muxer"
documentation = "https://docs.rs/muxer"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/arclabs561/muxer"

[package.metadata.docs.rs]
features = [
    "serde",
    "contextual",
]

[features]
contextual = ["dep:rand"]
default = ["stochastic"]
serde = ["dep:serde"]
stochastic = [
    "dep:rand",
    "dep:rand_distr",
]

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.pare]
version = "0.1.0"

[dependencies.rand]
version = "0.9"
optional = true

[dependencies.rand_distr]
version = "0.5"
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dev-dependencies.proptest]
version = "1.9"
