-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
63 lines (52 loc) · 2.16 KB
/
Cargo.toml
File metadata and controls
63 lines (52 loc) · 2.16 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
[package]
name = "turbo-remote-cache-rs"
version = "0.3.4"
edition = "2024"
license = "MIT"
publish = true
repository = "https://github.com/salamaashoush/turbo-remote-cache-rs"
description = "A remote cache server for turbo"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
actix-web = { version = "^4", features = ["compress-gzip", "compress-brotli", "compress-zstd"] }
actix-files = "^0.6"
serde = { version = "^1.0", features = ["derive"] }
serde_json = "^1.0"
tracing = "^0.1"
tracing-subscriber = { version = "^0.3", features = ["env-filter"] }
tracing-actix-web = "^0.7"
actix-cors = "^0.7"
actix-governor = "^0.7"
dotenvy = "^0.15"
futures-util = "^0.3"
object_store = { version = "^0.13", features = ["aws", "azure", "gcp"] }
tokio = { version = "^1", features = ["full"] }
# Database
sqlx = { version = "^0.8", features = ["runtime-tokio", "tls-rustls", "postgres", "uuid", "chrono", "migrate", "macros"] }
# Auth
jsonwebtoken = { version = "^10", features = ["rust_crypto"] }
argon2 = "^0.5"
rand = "^0.10"
sha2 = "^0.10"
hex = "^0.4"
totp-rs = { version = "^5.7", features = ["qr", "otpauth", "gen_secret"] }
data-encoding = "^2"
# Email
lettre = { version = "^0.11", default-features = false, features = ["tokio1-rustls-tls", "builder", "smtp-transport", "tokio1"] }
# Encoding
urlencoding = "^2"
# Types
chrono = { version = "^0.4", features = ["serde"] }
uuid = { version = "^1", features = ["v4", "serde"] }
[profile.dev]
codegen-units = 16 # debug build will cause runtime panic if codegen-unints is default
debug = 2
incremental = true
panic = "abort"
[profile.release]
codegen-units = 1
debug = false
lto = "thin" # Performs "thin" LTO. This is similar to "fat", but takes substantially less time to run while still achieving performance gains similar to "fat".
opt-level = 3
panic = "abort"
strip = true