-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
43 lines (33 loc) · 944 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
39
40
41
42
43
[package]
name = "oss_backend"
version = "0.1.0"
authors = ["Maxheart <samuelhenrykurniawan@yahoo.com>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
# web framework
rocket = "0.4.4"
rocket_contrib = { version = "0.4.5", features = ["json"] }
rocket_cors = "0.5.1"
# ORM
diesel = { version = "1.4.3", features = ["postgres", "r2d2", "serde_json", "chrono"] }
serde_json = { version = "1.0.48", features = ["preserve_order"] }
dotenv = "0.9.0"
lazy_static = "1.4.0"
chrono = { version = "0.4", features = ["serde"] }
# password hashing
pwhash = "0.3"
# jwt
jsonwebtoken = "5"
serde = { version = "1.0", features = ["derive"] }
# random
rand = "0.7"
# mock
mocktopus = "0.7.0"
# log
log = "0.4.0"
env_logger = "0.7.1"
# download from external sources
reqwest = { version = "0.10.6", features = ["blocking"] }
# to make life easier
itertools = "0.10.0"