# 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 = "little-sorry"
version = "2.0.0"
authors = ["Elliott Clark <elliott@batteriesincl.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Library to help with coding regret minimization."
homepage = "https://docs.rs/little_sorry"
readme = "README.md"
keywords = [
    "cards",
    "poker",
    "regret-minimization",
    "CFR",
]
categories = ["games"]
license = "Apache-2.0"
repository = "https://github.com/elliottneilclark/little-sorry"

[[package.metadata.release.pre-release-replacements]]
file = "README.md"
search = 'little-sorry = "[^"]+"'
replace = 'little-sorry = "{{version}}"'

[features]
default = []
rps = []

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

[[bin]]
name = "compare_algorithms"
path = "src/bin/compare_algorithms.rs"
required-features = ["rps"]

[[bin]]
name = "run_rps"
path = "src/bin/run_rps.rs"
required-features = ["rps"]

[[test]]
name = "convergence"
path = "tests/convergence.rs"
required-features = ["rps"]

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

[[bench]]
name = "rps"
path = "benches/rps.rs"
harness = false
required-features = ["rps"]

[dependencies.rand]
version = "~0.9.2"

[dev-dependencies.criterion]
version = "0.8.2"

[profile.release]
lto = true
debug = 2
