# 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 = "lunar-chess"
version = "0.3.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A screen overlay that detects chessboards, recognizes pieces using ONNX, and displays best moves from a chess engine."
readme = "README.md"
license = "MIT"

[[bin]]
name = "lunar-chess"
path = "src/main.rs"

[dependencies.anyhow]
version = "1.0.100"

[dependencies.config]
version = "0.15"
features = ["toml"]

[dependencies.fast_image_resize]
version = "5.4"
features = [
    "image",
    "rayon",
]

[dependencies.font-kit]
version = "0.14.3"

[dependencies.image]
version = "0.25.9"

[dependencies.ndarray]
version = "0.16.1"

[dependencies.once_cell]
version = "1.21.3"

[dependencies.ort]
version = "2.0.0-rc.10"
features = ["cuda"]

[dependencies.parking_lot]
version = "0.12"

[dependencies.polyglot-book-rs]
version = "0.1.0"

[dependencies.raqote]
version = "0.8.5"

[dependencies.rayon]
version = "1.11"

[dependencies.ruci]
version = "2.1.0"
features = ["engine-sync"]

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

[dependencies.softbuffer]
version = "0.4"

[dependencies.thiserror]
version = "2.0.17"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "fmt",
]

[dependencies.winit]
version = "0.30"

[target."cfg(windows)".dependencies.windows]
version = "0.62"
features = [
    "Win32_Foundation",
    "Win32_UI_WindowsAndMessaging",
]

[target."cfg(windows)".dependencies.windows-capture]
version = "1.5"

[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = true
