# 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"
rust-version = "1.85"
name = "encounter-rs"
version = "0.1.0"
build = false
exclude = [
    ".claude/",
    "tests/real_catalog.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Resolution engine for multi-character encounters with pluggable scoring backends"
homepage = "https://github.com/patricker/encounter"
documentation = "https://docs.rs/encounter-rs"
readme = "README.md"
keywords = [
    "social-simulation",
    "encounter",
    "interaction",
    "narrative",
    "game-ai",
]
categories = [
    "algorithms",
    "game-development",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/patricker/encounter"

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

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

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

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

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

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

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

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

[dependencies.thiserror]
version = "2.0"

[dependencies.toml]
version = "0.8"

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