-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
49 lines (34 loc) · 1.05 KB
/
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
44
45
46
47
48
49
[package]
name = "rust_project"
version = "0.1.0"
authors = ["alfinsuryaS <alfins132@gmail.com>"]
edition = "2018"
keywords = ["rust_project"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
#logger
log = "0.4.0"
env_logger = "0.7.1"
chrono = { version = "0.4.6", features = ["serde"] }
# For connecting with the MySQL database
diesel = { version = "1.0.0", features = ["mysql", "r2d2", "chrono"] }
#rocket-webserver
rocket = "0.4.2"
rocket_contrib = { version = "0.4.0", features = ["json", "diesel_mysql_pool", "uuid"] }
#rocket-testing
rocket_codegen = "0.4"
#cors
rocket_cors = { version = "0.5.1", default-features = false }
#env
dotenv = "0.9.0"
# Serialization/Deserialization
serde = {version = "1.0.103", features = ["derive"] }
serde_json = "1.0.44"
rust-crypto = "0.2.36"
rand = "0.7.2"
slug = "0.1.4"
[features]
default = ["random-suffix"]
# Enable generation of random suffix when making article slug. This
# allows having multiple articles with the same title.
random-suffix = []