-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathCargo.toml
More file actions
39 lines (28 loc) · 1.08 KB
/
Cargo.toml
File metadata and controls
39 lines (28 loc) · 1.08 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
[package]
name = "api-server"
version = "0.1.0"
edition = "2021"
[dependencies]
# Web Framework built on Tokio and Tower
axum = { version = "0.7", features = ["macros"] }
# Tower for HTTP services (used by Axum)
tower-http = { version = "0.5", features = ["cors"] } # For CORS, logging, etc.
argon2 = "0.4"
rand_core = "0.6"
# Serialization/Deserialization for JSON
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0" # JSON format implementation for Serde
# Asynchronous Runtime (Tokio)
tokio = { version = "1", features = ["full"] } # "full" includes tokio's runtime, async I/O, etc.
# Database client library for TimescaleDB
tokio-postgres = { version = "0.7", features = ["with-serde_json-1", "with-chrono-0_4"] }
# Utilities
log = "0.4" # Logging library
chrono = "0.4" # date and time library (e.g. timestamps)
dotenvy = "0.15" # loading environment variables
pyo3 = { version = "0.18.0", features = ["auto-initialize"] }
env_logger = "0.11"
# Shared logic crate
shared-logic = { path = "../shared-logic" }
# CSV serialization/deserialization
csv = "1.4"