Cargo.toml 1.27 KB
Newer Older
Robert Czechowski's avatar
Robert Czechowski committed
1 2
[package]
name = "medal"
3
version = "0.92.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 16 17
default  = ["rusqlite"]
complete = ["rusqlite", "postgres", "webbrowser"]
server   = ["rusqlite", "postgres"]
desktop  = ["rusqlite", "webbrowser"]
18 19
watch    = ["handlebars-iron/watch"]
strict   = [] # Treat warnings as a build error
20
debug    = []
Robert Czechowski's avatar
Robert Czechowski committed
21

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

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

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

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

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