-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
38 lines (31 loc) · 934 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[package]
name = "thvote-submit-handler"
version = "0.1.0"
authors = ["zyddnys <[email protected]>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
serde_json = { version = "1" }
serde = { version = "1.0", features = ["derive"] }
actix-web = "4.0.0-beta.14"
actix-rt = "2.5.0"
bson = "2.0.1"
rand = "0.8"
chrono = "0.4"
tokio = { version = "1", features = ["full"] }
futures-util = "0.3.15"
colored = "2"
thiserror = "1.0.26"
redlock = {git = "https://github.com/zyddnys/redlock-rs.git"}
jwt-simple = {git = "https://github.com/zyddnys/rust-jwt-simple.git"}
pvrustlib = {path = "../pvrustlib"}
[dependencies.mongodb]
version = "2.0.2"
default-features = false
features = ["async-std-runtime"]
[dependencies.redis]
version = "0.21.4"
features = ["tokio-comp", "aio"]
[profile.release]
lto = true # Link Time Optimization (LTO)
#panic = "abort"