-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
39 lines (36 loc) · 983 Bytes
/
Cargo.toml
File metadata and controls
39 lines (36 loc) · 983 Bytes
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
[package]
name = "actix"
version = "0.1.0"
edition = "2024"
license = "MIT OR Apache-2.0"
[dependencies]
actix-web = { version = "4.12.1", default-features = false, features = [
"macros",
"rustls",
] }
sea-orm = { version = "1.1.19", features = [
"sqlx-postgres",
"runtime-tokio-rustls",
] }
tokio = { version = "1.49.0", features = ["rt-multi-thread", "macros"] }
actix-rt = "2.11.0"
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.149"
jsonwebtoken = { version = "10", features = ["aws_lc_rs"] } # or the latest
futures = "0.3.31"
uuid = { version = "1.19.0", features = ["v4", "serde"] }
dotenvy = "0.15.7"
validator = { version = "0.20.0", features = ["derive"] }
bcrypt = "0.18.0"
chrono = { version = "0.4.42", features = ["serde"] } # ← must be here!
env_logger = "0.11.8" # or latest
log = "0.4.29"
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = "symbols"
[[bin]]
name = "app"
path = "src/main.rs"