rust/hedgewars-server/Cargo.toml
author S.D.
Tue, 27 Sep 2022 14:59:03 +0300
changeset 15900 fc3cb23fd26f
parent 15855 3511bacbd763
child 15966 c5c53ebb2d91
permissions -rw-r--r--
Allow to see rooms of incompatible versions in the lobby For the new clients the room version is shown in a separate column. There is also a hack for previous versions clients: the room vesion specifier is prepended to the room names for rooms of incompatible versions, and the server shows 'incompatible version' error if the client tries to join them.

[package]
edition = "2021"
name = "hedgewars-server"
version = "0.9.0"
authors = [ "Andrey Korotaev <a.korotaev@hedgewars.org>" ]

[features]
official-server = ["mysql_async", "sha1"]
default = []

[dependencies]
base64 = "0.13"
bitflags = "1.3"
bytes = "1.1"
chrono = "0.4"
env_logger = "0.8"
getopts = "0.2"
log = "0.4"
mysql_async = { version = "0.29.0", optional = true }
nom = "7.1"
rand = "0.8"
serde = "1.0"
serde_yaml = "0.8"
serde_derive = "1.0"
sha1 = { version = "0.10.0", optional = true }
slab = "0.4"
tokio = { version = "1.16", features = ["full"]}

hedgewars-network-protocol = { path = "../hedgewars-network-protocol" }

[dev-dependencies]
proptest = "1.0"