[package]
edition = "2021"
name = "chess-tui"
version = "2.5.1"
authors = ["Thomas Mauran"]
build = false
exclude = [
"examples/demo-two-player.gif",
"examples/helper.gif",
"examples/lichess-menu.gif",
"examples/play_against_black_bot.gif",
"examples/play_against_white_bot.gif",
"examples/skins.gif",
"website/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Play chess from your terminal 🦀"
homepage = "https://github.com/thomas-mauran/chess-tui"
readme = "README.md"
keywords = [
"chess",
"tui",
"graphics",
"game",
"board",
]
license = "MIT"
repository = "https://github.com/thomas-mauran/chess-tui"
[package.metadata.deb]
maintainer = "Thomas Mauran <thomasmauran@yahoo.com>"
copyright = "2023-2026, Thomas Mauran"
license-file = ["LICENSE"]
extended-description = """
Chess-tui is a simple chess game you can play from your terminal.
It supports:
- Local 2 players mode
- Online multiplayer
- Playing against any UCI compatible chess engine
- Lichess integration
- Custom skins
- And more!
"""
section = "games"
priority = "optional"
depends = "$auto"
[features]
chess-tui = []
default = [
"chess-tui",
"sound",
]
sound = ["rodio"]
[lib]
name = "chess_tui"
path = "src/lib.rs"
[[bin]]
name = "chess-tui"
path = "src/main.rs"
[[test]]
name = "game_board_tests"
path = "tests/game_board_tests.rs"
[[test]]
name = "game_tests"
path = "tests/game_tests.rs"
[[test]]
name = "skin_tests"
path = "tests/skin_tests.rs"
[[test]]
name = "utils_tests"
path = "tests/utils_tests.rs"
[dependencies.chrono]
version = "0.4.39"
[dependencies.clap]
version = "4.4.11"
features = ["derive"]
[dependencies.dirs]
version = "5.0.1"
[dependencies.dotenv]
version = "0.15"
[dependencies.log]
version = "0.4.25"
[dependencies.ratatui]
version = "0.29.0"
features = ["serde"]
[dependencies.reqwest]
version = "0.11"
features = [
"blocking",
"json",
]
[dependencies.rodio]
version = "0.18"
optional = true
[dependencies.ruci]
version = "2.1.0"
features = ["engine-sync"]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.shakmaty]
version = "0.27.3"
[dependencies.simplelog]
version = "0.12.2"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.toml]
version = "0.5.8"
[dev-dependencies.tempfile]
version = "3.8"
[lints.clippy]
complexity = "warn"
dbg_macro = "warn"
expect_used = "warn"
perf = "warn"
style = "warn"
todo = "warn"
unwrap_used = "warn"
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.suspicious]
level = "deny"
priority = -1
[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
strip = true