-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
34 lines (28 loc) · 904 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
[package]
name = "linkly"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
rocket = { version = "0.5.1", features = ["json"] }
serde = "1.0.188"
futures = "0.3.28"
tokio = { version = "1.32.0", features = ["full"] }
chrono = "0.4"
dotenv = "0.15.0"
regex = "1"
redis = { version = "0.27.0", features = ["tokio-comp"] }
deadpool-redis = "0.10"
[dependencies.sqlx]
version = "0.7"
features = ["postgres", "runtime-tokio-native-tls", "macros"]
[dependencies.uuid]
version = "1.8.0"
features = [
"v4", # Lets you generate random UUIDs
"fast-rng", # Use a faster (but still sufficiently random) RNG
"macro-diagnostics", # Enable better diagnostics for compile-time UUIDs
]
[dependencies.rocket_db_pools]
version = "0.2.0"
features = ["sqlx_postgres", "deadpool_redis"]