-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
77 lines (61 loc) · 2.04 KB
/
Copy pathCargo.toml
File metadata and controls
77 lines (61 loc) · 2.04 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[package]
name = "rusty-server"
version = "0.1.0"
edition = "2021"
rust-version = "1.88"
authors = ["MichaelHansen"]
description = "Rust-based REST API service for fetching, caching, and serving space weather data"
license = "MIT"
repository = "https://github.com/YOUR_USERNAME/Rusty_Server"
keywords = ["space-weather", "api", "rust", "noaa", "satellite"]
categories = ["web-programming", "science"]
default-run = "rusty-server"
[dependencies]
# Web framework
axum = { version = "0.7", features = ["macros"] }
tower = { version = "0.4", features = ["util"] }
tower-http = { version = "0.5", features = ["cors", "trace", "limit", "set-header"] }
tokio = { version = "1", features = ["full"] }
# HTTP client
reqwest = { version = "0.11", features = ["json"] }
# Database
sqlx = { version = "0.7", features = ["runtime-tokio-native-tls", "mysql", "chrono", "uuid", "migrate"] }
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
# Error handling
anyhow = "1.0"
thiserror = "1.0"
# Configuration
config = "0.14"
dotenv = "0.15"
# Time handling
chrono = { version = "0.4", features = ["serde"] }
# Rate limiting
governor = "0.6"
# Authentication
jsonwebtoken = "9.3"
argon2 = "0.5"
# Utilities
uuid = { version = "1.6", features = ["v4", "serde"] }
urlencoding = "2.1"
# Caching
moka = { version = "0.12", features = ["future"] }
# Ephemerust — sibling checkout (Phase 0; see EPHEMERUST_INTEGRATION_PLAN.md). Expected layout: ../Ephemerust next to this repo.
ephemerust = { path = "../Ephemerust" }
[[bin]]
name = "collect_training_data"
path = "scripts/collect_training_data.rs"
[[bin]]
name = "populate_databases"
path = "scripts/populate_databases.rs"
[dev-dependencies]
tokio-test = "0.4"
tower = { version = "0.4", features = ["util"] }
hyper = { version = "1", features = ["full"] }
axum = { version = "0.7", features = ["macros"] }
urlencoding = "2.1"
sqlx = { version = "0.7", features = ["runtime-tokio-native-tls", "mysql"] }