-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
58 lines (44 loc) · 1.23 KB
/
Copy pathCargo.toml
File metadata and controls
58 lines (44 loc) · 1.23 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
[package]
name = "currency-converter-api"
version = "0.2.0"
edition = "2024"
publish = false
[[bin]]
name = "currency-converter-api"
path = "src/main.rs"
[dependencies]
# Web framework
axum = "0.8.7"
tokio = { version = "1.48", features = ["full"] }
tower-http = { version = "0.6", features = ["cors", "trace", "compression-gzip"] }
# Serialization
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.145"
# HTTP client for ECB
reqwest = { version = "0.12.23", features = ["rustls-tls"] }
# XML parsing
quick-xml = { version = "0.38", features = ["serialize"] }
# Redis
redis = { version = "0.32.7", features = ["tokio-comp", "connection-manager"] }
# Scheduling
tokio-cron-scheduler = "0.15"
# Configuration
dotenvy = "0.15.7"
# Logging
tracing = "0.1.43"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Error handling
thiserror = "2.0.17"
anyhow = "1.0.99"
# Date/time
chrono = { version = "0.4.42", features = ["serde"] }
# Validation
validator = { version = "0.20", features = ["derive"] }
# Decimal precision for financial calculations
rust_decimal = { version = "1.37.2", features = ["serde"] }
rust_decimal_macros = "1.37.2"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true