-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
59 lines (46 loc) · 1.23 KB
/
Cargo.toml
File metadata and controls
59 lines (46 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
59
[package]
name = "rust-geolocation-api"
version = "0.1.0"
edition = "2021"
[dependencies]
# Web framework
axum = { version = "0.7", features = ["multipart", "macros"] }
axum-extra = { version = "0.9", features = ["typed-header"] }
tower = { version = "0.4", features = ["full"] }
tower-http = { version = "0.5", features = ["cors", "trace", "limit"] }
tokio = { version = "1", features = ["full"] }
# ML inference
ort = { version = "2.0.0-rc.12", features = ["ndarray"] }
ndarray = "0.17"
# Image processing
image = { version = "0.25", default-features = false, features = ["jpeg", "png", "webp"] }
# Reverse geocoding (offline, bundles GeoNames data)
reverse_geocoder = "3"
# Rate limiting
governor = { version = "0.6", features = ["std", "dashmap"] }
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# Auth / CSRF
hmac = "0.12"
sha2 = "0.10"
hex = "0.4"
base64 = "0.22"
rand = "0.8"
# Config
dotenvy = "0.15"
# Error handling
thiserror = "2"
anyhow = "1"
# Logging / tracing
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Time
chrono = "0.4"
# Utilities
uuid = { version = "1", features = ["v4"] }
bytes = "1"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1