27b8ad684e7c138383c0b6d899c31dcdd850fd86
[rup.git] / backend / Cargo.toml
1 [package]
2 name = "rup"
3 version = "1.0.0"
4 authors = ["GrĂ©gory Burri <greg.burri@gmail.com>"]
5 edition = "2018"
6
7 [dependencies]
8 actix-web = "2.0"
9 actix-rt = "1.1"
10 actix-files = "0.2"
11 serde = { version = "1.0", features = ["derive"] }
12
13 openssl = "0.10"
14
15 listenfd = "0.3" # To watch file modifications and automatically launch a build process (only used in dev/debug).
16 ron = "0.6" # Rust object notation, to load configuration files.
17 itertools = "0.9"
18 percent-encoding = "2.1"
19 base64 = "0.12"
20 rand = "0.7"
21
22 r2d2_sqlite = "0.15" # Connection pool with rusqlite (SQLite access).
23 r2d2 = "0.8"
24
25 futures = "0.3" # Needed by askam with the feature 'with-actix-web'.
26
27 common = { path = "../common" }
28
29 [dependencies.rusqlite]
30 version = "0.22"
31 features = ["bundled"]
32
33 # Template system.
34 [dependencies.askama]
35 version = "0.9"
36 features = ["with-actix-web"]
37
38 [profile.release]
39 codegen-units = 1
40 lto = true
41 panic = 'abort'