rust/hedgewars-server/Cargo.toml
author Wuzzy <Wuzzy2@mail.ru>
Thu, 25 Apr 2019 23:01:05 +0200
changeset 14844 e239378a9400
parent 14797 38e66519e585
child 15119 a7841105493e
permissions -rw-r--r--
Prevent entering “/”, “\” and “:” in team and scheme names. The name of teams and schems is saved in the file name itself, so these characters would cause trouble as they are used in path names in Linux and Windows.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12130
858bf4d04c54 Start server implementation in rust
unc0rr
parents:
diff changeset
     1
[package]
13671
09f4a30e50cc Rust 2018 conversion
alfadur
parents: 13534
diff changeset
     2
edition = "2018"
12130
858bf4d04c54 Start server implementation in rust
unc0rr
parents:
diff changeset
     3
name = "hedgewars-server"
858bf4d04c54 Start server implementation in rust
unc0rr
parents:
diff changeset
     4
version = "0.0.1"
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
13803
4664da990556 Add official server feature to cargo
alfadur
parents: 13802
diff changeset
     7
[features]
14461
a077aac9df01 Start database interaction implementation
unc0rr
parents: 14420
diff changeset
     8
official-server = ["openssl", "mysql"]
13804
c8fd12db6215 Add TLS support
alfadur
parents: 13803
diff changeset
     9
tls-connections = ["openssl"]
c8fd12db6215 Add TLS support
alfadur
parents: 13803
diff changeset
    10
default = []
13803
4664da990556 Add official server feature to cargo
alfadur
parents: 13802
diff changeset
    11
12130
858bf4d04c54 Start server implementation in rust
unc0rr
parents:
diff changeset
    12
[dependencies]
14797
38e66519e585 ugly hacked in argument for port to remove unc0rr's excuse
nemo
parents: 14784
diff changeset
    13
getopts = "0.2.18"
14700
216d39de1a44 fix official server build & bump dependencies
alfadur
parents: 14461
diff changeset
    14
rand = "0.6"
12130
858bf4d04c54 Start server implementation in rust
unc0rr
parents:
diff changeset
    15
mio = "0.6"
14784
f43ab2bd76ae add a thread for internal server IO and implement account checking with it
alfadur
parents: 14782
diff changeset
    16
mio-extras = "2.0.5"
12762
6f4ab0339c16 Modernize Cargo.toml a bit
unc0rr
parents: 12142
diff changeset
    17
slab = "0.4"
13671
09f4a30e50cc Rust 2018 conversion
alfadur
parents: 13534
diff changeset
    18
netbuf = "0.4"
14780
09d46ab83361 port server parser to nom 5
alfadur
parents: 14700
diff changeset
    19
nom = { git = "https://github.com/Geal/nom", branch = "5.0" }
14355
31717e1436cd recruit some newly stabilized functions
alfadur
parents: 14050
diff changeset
    20
env_logger = "0.6"
13440
2e5a5eee8d80 Update rand and log to the latest versions
Marcin Mielniczuk <marmistrz.dev@zoho.eu>
parents: 13430
diff changeset
    21
log = "0.4"
14050
9102b25b85f7 bump server dependencies
alfadur
parents: 13809
diff changeset
    22
base64 = "0.10"
13527
282e5e54386f Something down in the food chain already uses bitflags, so might as well switch to them
alfadur
parents: 13444
diff changeset
    23
bitflags = "1.0"
13534
662f7df89d06 Implement room config export
alfadur
parents: 13527
diff changeset
    24
serde = "1.0"
13802
c5edfcfac68b Bump dependencies
alfadur
parents: 13801
diff changeset
    25
serde_yaml = "0.8"
13534
662f7df89d06 Implement room config export
alfadur
parents: 13527
diff changeset
    26
serde_derive = "1.0"
13804
c8fd12db6215 Add TLS support
alfadur
parents: 13803
diff changeset
    27
openssl = { version = "0.10", optional = true }
14700
216d39de1a44 fix official server build & bump dependencies
alfadur
parents: 14461
diff changeset
    28
mysql = { version = "15.0", optional = true }
13801
59ea2403f62d move everything test related into test cfg
alfadur
parents: 13671
diff changeset
    29
59ea2403f62d move everything test related into test cfg
alfadur
parents: 13671
diff changeset
    30
[dev-dependencies]
14782
8015a6e4ca3c move parser tests into test module
alfadur
parents: 14780
diff changeset
    31
proptest = "0.9"