[package]
name = "openfut-blaze-host"
version = "0.1.0"
edition = "2021"
license = "MIT"
description = "Thin TCP host for the FIFA 17 Blaze RPC surface; runs beside the Python backend"
publish = false

[dependencies]
openfut-protocol-blaze = { path = "../openfut-protocol-blaze" }
openfut-adapter-fifa17 = { path = "../openfut-adapter-fifa17" }
# Session keys. The client never validates them, but they must be distinct per
# connection; seeding from the clock would not be.
rand = "0.8"
# The probe replays the adapter's recorded fixture conversation.
serde_json = "1"

# No async runtime and no TLS, both deliberate:
#   * A FIFA client opens a handful of connections, so a thread each mirrors the
#     Python oracle and keeps the host readable.
#   * The Blaze main port is plaintext — verified against the running backend.
#     TLS belongs to the redirector phase.

[[bin]]
name = "openfut-blaze-host"
path = "src/main.rs"

[[bin]]
name = "blaze-probe"
path = "src/bin/blaze-probe.rs"

[[bin]]
name = "tls-observe"
path = "src/bin/tls-observe.rs"

[[bin]]
name = "blaze-sanitize"
path = "src/bin/blaze-sanitize.rs"
