Cargo.toml 1.34 KB
Newer Older
Robert Czechowski's avatar
Robert Czechowski committed
1
2
[package]
name = "medal"
3
version = "0.9.0"
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
11
license = "AGPL-3.0-or-later"
maintenance = { status = "active-developed" }
Robert Czechowski's avatar
Robert Czechowski committed
12

Robert Czechowski's avatar
Robert Czechowski committed
13
[features]
14
15
rusqlite_old = ["rusqlite"]
rusqlite_new = ["rusqlite"]
16
17
18
19
default  = ["rusqlite_new"]
complete = ["rusqlite_new", "postgres", "webbrowser"]
server   = ["rusqlite_new", "postgres"]
desktop  = ["rusqlite_new", "webbrowser"]
20
21
watch    = ["handlebars-iron/watch"]
strict   = [] # Treat warnings as a build error
22
debug    = []
Robert Czechowski's avatar
Robert Czechowski committed
23

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

Robert Czechowski's avatar
Robert Czechowski committed
44
45
[dependencies.serde_json]
version = "1.0.20"
Robert Czechowski's avatar
Robert Czechowski committed
46
features = ["preserve_order"]
47

48
49
50
51
52
53
54
55
[dependencies.webbrowser]
version = "0.5.1"
optional = true

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

56
57
[dependencies.postgres]
version = "0.15"
58
features = ["with-time"]
59
optional = true