[package]
edition = "2024"
rust-version = "1.97"
name = "open-chess-server"
version = "0.1.6"
authors = ["Mark Olliver"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Lichess-compatible chess server: the Board, Bot, Challenge and OAuth APIs on Postgres, with post-game fair-play screening"
homepage = "https://github.com/OffeneDatenmodellierung/open-chess"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/OffeneDatenmodellierung/open-chess"
[lib]
name = "open_chess_server"
path = "src/lib.rs"
[[test]]
name = "e2e"
path = "tests/e2e.rs"
[dependencies.anyhow]
version = "1.0.104"
[dependencies.argon2]
version = "0.6.0"
[dependencies.aws-lc-rs]
version = "1.18.1"
[dependencies.axum]
version = "0.8.9"
[dependencies.base64]
version = "0.23.1"
[dependencies.bytes]
version = "1"
[dependencies.chess-analysis]
version = "0.1.6"
package = "open-chess-analysis"
[dependencies.chess-core]
version = "0.1.6"
package = "open-chess-core"
[dependencies.chess-engine]
version = "0.1.6"
package = "open-chess-engine"
[dependencies.chess-fairplay]
version = "0.1.6"
package = "open-chess-fairplay"
[dependencies.chess-proto]
version = "0.1.6"
package = "open-chess-proto"
[dependencies.chess-vision]
version = "0.1.6"
features = ["decode"]
package = "open-chess-vision"
[dependencies.chrono]
version = "0.4.45"
features = [
"std",
"clock",
"serde",
]
default-features = false
[dependencies.ciborium]
version = "0.2.2"
[dependencies.clap]
version = "4.6.7"
features = [
"derive",
"env",
]
[dependencies.cozy-chess]
version = "0.3.4"
[dependencies.deadpool]
version = "0.13.1"
features = [
"managed",
"rt_tokio_1",
]
default-features = false
[dependencies.futures-util]
version = "0.3.34"
features = ["std"]
default-features = false
[dependencies.hex]
version = "0.4.3"
[dependencies.p256]
version = "0.14.0"
features = [
"ecdsa",
"pem",
"std",
]
default-features = false
[dependencies.prometheus]
version = "0.14.0"
default-features = false
[dependencies.rand]
version = "0.10.3"
[dependencies.reqwest]
version = "0.13.5"
features = [
"json",
"query",
"form",
]
[dependencies.rustls]
version = "0.23.45"
[dependencies.rustls-native-certs]
version = "0.8.4"
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.151"
[dependencies.sha2]
version = "0.11.0"
[dependencies.tokio]
version = "1.53.2"
features = [
"macros",
"rt-multi-thread",
"time",
"sync",
"signal",
"net",
"process",
"io-util",
"fs",
]
[dependencies.tokio-postgres]
version = "0.7.18"
features = [
"with-chrono-0_4",
"with-serde_json-1",
]
[dependencies.tokio-postgres-rustls]
version = "0.14.0"
[dependencies.tower-http]
version = "0.6.11"
features = ["compression-gzip"]
[dependencies.tracing]
version = "0.1.44"
[dependencies.tracing-subscriber]
version = "0.3.23"
features = ["env-filter"]
[dependencies.url]
version = "2.5.8"
[dependencies.urlencoding]
version = "2.1.3"
[dev-dependencies.chess-client]
version = "0.1.6"
package = "open-chess-client"
[dev-dependencies.reqwest]
version = "0.13.5"
features = [
"json",
"form",
"stream",
]
[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
implicit_hasher = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
too_many_lines = "allow"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"