-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
28 lines (24 loc) · 930 Bytes
/
Cargo.toml
File metadata and controls
28 lines (24 loc) · 930 Bytes
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
[package]
name = "api"
version = "0.1.0"
edition = "2021"
publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = "1.0.70"
axum = "0.7.4"
dotenv = "0.15.0"
percent-encoding = "2.2.0"
reqwest = { version = "0.11.23", features = ["stream"] }
serde = { version = "1.0.159", features = ["derive"] }
sqlx = { version = "0.7.3", features = ["runtime-tokio-native-tls", "json", "sqlite"] }
tokio = { version = "1.27.0", features = ["full"] }
tower-http = { version = "0.5.1", features = ["cors"] }
url = "2.5.0"
# dns resolution dependencies, these should be the same as reqwest
trust-dns-resolver = { version = "0.23", optional = false, features = ["tokio-runtime"] }
hyper = { version = "0.14.21", default-features = false, features = ["tcp", "http1", "http2", "client", "runtime"] }
once_cell = "1"
[[bin]]
name = "eclipse-api"
path = "src/main.rs"