rust/hedgewars-server/Cargo.toml
author Wuzzy <Wuzzy@disroot.org>
Thu, 24 Aug 2023 20:12:28 +0200
changeset 15977 f81fe8250ed9
parent 15936 c5c53ebb2d91
child 15986 cd8392e52165
permissions -rw-r--r--
Clean up flag/grave/hats XHTML preview pages
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12125
858bf4d04c54 Start server implementation in rust
unc0rr
parents:
diff changeset
     1
[package]
15831
7d0f747afcb8 move server network to tokio
alfadur
parents: 15804
diff changeset
     2
edition = "2021"
12125
858bf4d04c54 Start server implementation in rust
unc0rr
parents:
diff changeset
     3
name = "hedgewars-server"
15804
747278149393 Extract network protocol into a separate crate
unc0rr
parents: 15801
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
13798
4664da990556 Add official server feature to cargo
alfadur
parents: 13797
diff changeset
     7
[features]
15936
c5c53ebb2d91 add back server TLS support
alfadur
parents: 15833
diff changeset
     8
tls-connections = ["tokio-native-tls"]
c5c53ebb2d91 add back server TLS support
alfadur
parents: 15833
diff changeset
     9
official-server = ["mysql_async", "sha1", "tls-connections"]
13799
c8fd12db6215 Add TLS support
alfadur
parents: 13798
diff changeset
    10
default = []
13798
4664da990556 Add official server feature to cargo
alfadur
parents: 13797
diff changeset
    11
12125
858bf4d04c54 Start server implementation in rust
unc0rr
parents:
diff changeset
    12
[dependencies]
15831
7d0f747afcb8 move server network to tokio
alfadur
parents: 15804
diff changeset
    13
base64 = "0.13"
7d0f747afcb8 move server network to tokio
alfadur
parents: 15804
diff changeset
    14
bitflags = "1.3"
7d0f747afcb8 move server network to tokio
alfadur
parents: 15804
diff changeset
    15
bytes = "1.1"
15517
abd5eb807166 add ip ban check
alfadur <mail@none>
parents: 15259
diff changeset
    16
chrono = "0.4"
15795
40929af15167 find excuses to use shiny new 🦀 features
alfadur
parents: 15577
diff changeset
    17
env_logger = "0.8"
15831
7d0f747afcb8 move server network to tokio
alfadur
parents: 15804
diff changeset
    18
getopts = "0.2"
13435
2e5a5eee8d80 Update rand and log to the latest versions
Marcin Mielniczuk <marmistrz.dev@zoho.eu>
parents: 13425
diff changeset
    19
log = "0.4"
15833
3511bacbd763 update to mysql_async
alfadur
parents: 15831
diff changeset
    20
mysql_async = { version = "0.29.0", optional = true }
15831
7d0f747afcb8 move server network to tokio
alfadur
parents: 15804
diff changeset
    21
nom = "7.1"
7d0f747afcb8 move server network to tokio
alfadur
parents: 15804
diff changeset
    22
rand = "0.8"
13529
662f7df89d06 Implement room config export
alfadur
parents: 13522
diff changeset
    23
serde = "1.0"
13797
c5edfcfac68b Bump dependencies
alfadur
parents: 13796
diff changeset
    24
serde_yaml = "0.8"
13529
662f7df89d06 Implement room config export
alfadur
parents: 13522
diff changeset
    25
serde_derive = "1.0"
15833
3511bacbd763 update to mysql_async
alfadur
parents: 15831
diff changeset
    26
sha1 = { version = "0.10.0", optional = true }
15831
7d0f747afcb8 move server network to tokio
alfadur
parents: 15804
diff changeset
    27
slab = "0.4"
7d0f747afcb8 move server network to tokio
alfadur
parents: 15804
diff changeset
    28
tokio = { version = "1.16", features = ["full"]}
15936
c5c53ebb2d91 add back server TLS support
alfadur
parents: 15833
diff changeset
    29
tokio-native-tls = { version = "0.3", optional = true }
15831
7d0f747afcb8 move server network to tokio
alfadur
parents: 15804
diff changeset
    30
15804
747278149393 Extract network protocol into a separate crate
unc0rr
parents: 15801
diff changeset
    31
hedgewars-network-protocol = { path = "../hedgewars-network-protocol" }
13796
59ea2403f62d move everything test related into test cfg
alfadur
parents: 13666
diff changeset
    32
59ea2403f62d move everything test related into test cfg
alfadur
parents: 13666
diff changeset
    33
[dev-dependencies]
15801
f57a3d48072b update nom
alfadur
parents: 15800
diff changeset
    34
proptest = "1.0"