# 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 = "battle"
version = "0.0.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Tools for building competitive bots"
readme = "README.md"
keywords = [
    "bots",
    "codingame",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/mlomb/battle"
resolver = "2"

[[bin]]
name = "battle"
path = "src/main.rs"

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

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

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

[dependencies.anyhow]
version = "1.0.102"

[dependencies.async-channel]
version = "2.5.0"

[dependencies.battle-bundler]
version = "0.0.1"

[dependencies.battle-cgsync]
version = "0.0.1"

[dependencies.battle-wrapcmd]
version = "0.0.1"

[dependencies.blake3]
version = "1.8.4"

[dependencies.build-fs-tree]
version = "0.8.1"

[dependencies.clap]
version = "4.5.19"
features = [
    "derive",
    "env",
]

[dependencies.console]
version = "0.16.3"
features = [
    "ansi-parsing",
    "std",
]
default-features = false

[dependencies.env_logger]
version = "0.11.10"

[dependencies.futures-util]
version = "0.3.32"

[dependencies.include_dir]
version = "0.7.4"

[dependencies.log]
version = "0.4.29"

[dependencies.message-io]
version = "0.19.0"

[dependencies.num_cpus]
version = "1.17.0"

[dependencies.postcard]
version = "1.1.3"
features = ["alloc"]

[dependencies.rand]
version = "0.10.1"

[dependencies.serde]
version = "1.0.228"
features = ["serde_derive"]

[dependencies.tempfile]
version = "3.27.0"

[dependencies.tokio]
version = "1.51.1"
features = [
    "io-std",
    "io-util",
    "macros",
    "rt-multi-thread",
    "sync",
    "net",
    "signal",
]

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.send_ctrlc]
version = "0.6.0"

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[target."cfg(windows)".dependencies.win32job]
version = "2"
