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.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12125
858bf4d04c54 Start server implementation in rust
unc0rr
parents:
diff changeset
     1
[package]
15853
7d0f747afcb8 move server network to tokio
alfadur
parents: 15826
diff changeset
     2
edition = "2021"
12125
858bf4d04c54 Start server implementation in rust
unc0rr
parents:
diff changeset
     3
name = "hedgewars-server"
15826
747278149393 Extract network protocol into a separate crate
unc0rr
parents: 15823
diff changeset
     4
version = "0.9.0"
12125
858bf4d04c54 Start server implementation in rust
unc0rr
parents:
diff changeset
     5
authors = [ "Andrey Korotaev <a.korotaev@hedgewars.org>" ]
858bf4d04c54 Start server implementation in rust
unc0rr
parents:
diff changeset
     6
13771
4664da990556 Add official server feature to cargo
alfadur
parents: 13769
diff changeset
     7
[features]
15855
3511bacbd763 update to mysql_async
alfadur
parents: 15853
diff changeset
     8
official-server = ["mysql_async", "sha1"]
13773
c8fd12db6215 Add TLS support
alfadur
parents: 13771
diff changeset
     9
default = []
13771
4664da990556 Add official server feature to cargo
alfadur
parents: 13769
diff changeset
    10
12125
858bf4d04c54 Start server implementation in rust
unc0rr
parents:
diff changeset
    11
[dependencies]
15853
7d0f747afcb8 move server network to tokio
alfadur
parents: 15826
diff changeset
    12
base64 = "0.13"
7d0f747afcb8 move server network to tokio
alfadur
parents: 15826
diff changeset
    13
bitflags = "1.3"
7d0f747afcb8 move server network to tokio
alfadur
parents: 15826
diff changeset
    14
bytes = "1.1"
15539
abd5eb807166 add ip ban check
alfadur <mail@none>
parents: 15280
diff changeset
    15
chrono = "0.4"
15817
40929af15167 find excuses to use shiny new 🦀 features
alfadur
parents: 15599
diff changeset
    16
env_logger = "0.8"
15853
7d0f747afcb8 move server network to tokio
alfadur
parents: 15826
diff changeset
    17
getopts = "0.2"
13435
2e5a5eee8d80 Update rand and log to the latest versions
Marcin Mielniczuk <marmistrz.dev@zoho.eu>
parents: 13425
diff changeset
    18
log = "0.4"
15855
3511bacbd763 update to mysql_async
alfadur
parents: 15853
diff changeset
    19
mysql_async = { version = "0.29.0", optional = true }
15853
7d0f747afcb8 move server network to tokio
alfadur
parents: 15826
diff changeset
    20
nom = "7.1"
7d0f747afcb8 move server network to tokio
alfadur
parents: 15826
diff changeset
    21
rand = "0.8"
13529
662f7df89d06 Implement room config export
alfadur
parents: 13493
diff changeset
    22
serde = "1.0"
13769
c5edfcfac68b Bump dependencies
alfadur
parents: 13713
diff changeset
    23
serde_yaml = "0.8"
13529
662f7df89d06 Implement room config export
alfadur
parents: 13493
diff changeset
    24
serde_derive = "1.0"
15855
3511bacbd763 update to mysql_async
alfadur
parents: 15853
diff changeset
    25
sha1 = { version = "0.10.0", optional = true }
15853
7d0f747afcb8 move server network to tokio
alfadur
parents: 15826
diff changeset
    26
slab = "0.4"
7d0f747afcb8 move server network to tokio
alfadur
parents: 15826
diff changeset
    27
tokio = { version = "1.16", features = ["full"]}
7d0f747afcb8 move server network to tokio
alfadur
parents: 15826
diff changeset
    28
15826
747278149393 Extract network protocol into a separate crate
unc0rr
parents: 15823
diff changeset
    29
hedgewars-network-protocol = { path = "../hedgewars-network-protocol" }
13713
59ea2403f62d move everything test related into test cfg
alfadur
parents: 13666
diff changeset
    30
59ea2403f62d move everything test related into test cfg
alfadur
parents: 13666
diff changeset
    31
[dev-dependencies]
15823
f57a3d48072b update nom
alfadur
parents: 15822
diff changeset
    32
proptest = "1.0"