-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
35 lines (32 loc) · 820 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
[package]
name = "urlshortner"
version = "0.1.0"
edition = "2021"
[dependencies]
sqlx = { version = "0.7.1", default-features = false, features = ["runtime-tokio", "tls-rustls", "macros", "postgres", "uuid", "chrono", "migrate"] }
serde = { version = "1", features = ["derive"] }
actix-web = "4.0.0"
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
config = "0.13.3"
serde-aux = "4.2.0"
serde_derive = "1.0"
chrono = "0.4.15"
log = "0.4"
pretty_env_logger = "0.5.0"
serde_json = "1.0.107"
redis = "0.23.3"
async-trait = "0.1.73"
url = { version = "2"}
ring = "0.16.20"
base64 = "0.21.4"
actix-web-lab = { version = "0.19.1" }
[dev-dependencies]
reqwest = "0.11"
actix-rt = "2.9"
rand = "0.8.5"
# release build optimization
[profile.release]
strip = true
opt-level= "s"
lto = true
codegen-units = 1