Cargo.toml 1.57 KB
Newer Older
Robert Czechowski's avatar
Robert Czechowski committed
1
[package]
2
version = "1.5.3"
Robert Czechowski's avatar
Robert Czechowski committed
3
name = "medal"
4 5 6
authors = ["Robert Czechowski <czechowski@bwinf.de>", "Daniel Brüning <bruening@bwinf.de>"]

description = "A simple online contest platform"
7 8
homepage = "https://jwinf.de"
repository = "https://git.bwinf.de/bwinf/medal"
9
readme = "README.md"
10
license = "AGPL-3.0-or-later"
11 12

[badges]
13
maintenance = { status = "active-developed" }
14 15 16
gitlab = { repository = "https://git.bwinf.de/bwinf/medal", branch = "master" }
is-it-maintained-open-issues = { repository = "https://git.bwinf.de/bwinf/medal" }
is-it-maintained-issue-resolution = { repository = "https://git.bwinf.de/bwinf/medal" }
Robert Czechowski's avatar
Robert Czechowski committed
17

Robert Czechowski's avatar
Robert Czechowski committed
18
[features]
19 20 21 22
default  = ["rusqlite"]
complete = ["rusqlite", "postgres", "webbrowser"]
server   = ["rusqlite", "postgres"]
desktop  = ["rusqlite", "webbrowser"]
23 24
watch    = ["handlebars-iron/watch"]
strict   = [] # Treat warnings as a build error
25 26
debug    = ["signup"]
signup   = []
Robert Czechowski's avatar
Robert Czechowski committed
27

Robert Czechowski's avatar
Robert Czechowski committed
28 29
[dependencies]
time = "0.1.40"
Robert Czechowski's avatar
Robert Czechowski committed
30
iron = "0.5.1"
31
rand = "0.5.5"
Robert Czechowski's avatar
Robert Czechowski committed
32 33
mount ="0.3"
router = "0.5"
34
params = "0.7"
Robert Czechowski's avatar
Robert Czechowski committed
35 36 37 38 39 40
serde = "1.0"
urlencoded = "0.5"
persistent = "0.3"
staticfile = "0.4"
serde_derive = "1.0"
handlebars-iron = "0.25.1"
41
iron-sessionstorage = { path = "iron-sessionstorage", version = ">=0.6"}
42 43
serde_yaml = "0.8.9"
structopt = "0.2.18"
44
reqwest = "0.9.19"
Robert Czechowski's avatar
Robert Czechowski committed
45
linked-hash-map = "0.5.1"
46
bcrypt = "0.3"
47
csv = "1.1"
48
sha2 = "0.7"
49

Robert Czechowski's avatar
Robert Czechowski committed
50 51
[dependencies.serde_json]
version = "1.0.20"
Robert Czechowski's avatar
Robert Czechowski committed
52
features = ["preserve_order"]
53

54 55 56 57 58 59 60 61
[dependencies.webbrowser]
version = "0.5.1"
optional = true

[dependencies.rusqlite]
version = "0.14.0"
optional = true

62 63
[dependencies.postgres]
version = "0.15"
64
features = ["with-time"]
65
optional = true