-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
33 lines (31 loc) · 1.13 KB
/
Cargo.toml
File metadata and controls
33 lines (31 loc) · 1.13 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
[package]
name = "webhook-service"
version = "1.0.0"
edition = "2024"
description = "Webhook test service"
authors = ["Oleksii Rodionov"]
license = "MIT"
repository = "https://github.com/SpeedSX/webhook-service"
homepage = "https://github.com/SpeedSX/webhook-service"
readme = "README.md"
[dependencies]
axum = { version = "0.8", features = ["macros", "multipart", "tracing"] }
tokio = { version = "1.0", features = ["full"] }
tower = "0.5"
tower-http = { version = "0.6", features = ["cors", "trace"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
uuid = { version = "1.0", features = ["v4", "serde"] }
chrono = { version = "0.4", features = ["serde"] }
sqlx = { version = "0.8", features = ["runtime-tokio-rustls", "sqlite", "chrono", "uuid"] }
anyhow = "1.0"
tracing = "0.1"
tracing-subscriber = "0.3"
url = "2"
thiserror = "2"
[profile.release]
opt-level = "z" # Optimize for size
lto = true # Enable Link Time Optimization
codegen-units = 1 # Reduce number of codegen units to increase optimizations
panic = "abort" # Abort on panic (reduces binary size)
strip = true # Remove symbols from binary