-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
46 lines (44 loc) · 1.23 KB
/
Cargo.toml
File metadata and controls
46 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
[package]
name = "localitysrv"
version = "0.1.0"
edition = "2021"
description = "HTTP server built with Rust, Arti/Tor and Axum that serves .pmtiles for localities from around the world."
authors = ["Xavier Saliniere <bonjour@xaviers.sh>"]
license = "GPL-3.0-or-later"
[dependencies]
axum = "0.8"
clap = { version = "4.5", features = ["derive"] }
tokio = { version = "1.47", features = [
"net",
"signal",
"fs",
"process",
"sync",
"rt-multi-thread",
] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
anyhow = "1.0"
rusqlite = { version = "0.37", features = ["bundled"] }
tower = "0.5"
reqwest = { version = "0.12", features = ["json", "stream"] }
dotenvy = "0.15"
thiserror = "1.0"
tower-http = { version = "0.6", features = ["cors", "trace"] }
headers = "0.4"
regex = "1.0"
futures = "0.3"
tokio-util = { version = "0.7", features = ["io"] }
# Tor hidden service dependencies
arti-client = { version = "0.35", features = [
"onion-service-service",
"static",
] }
hyper = { version = "1", features = ["http1", "server"] }
hyper-util = { version = "0.1.1", features = ["tokio"] }
safelog = "0.6"
tor-cell = "0.35"
tor-hsservice = "0.35"
tor-proto = "0.35"
tracing = "0.1"
tracing-subscriber = "0.3.20"