-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
95 lines (75 loc) · 2.36 KB
/
Copy pathCargo.toml
File metadata and controls
95 lines (75 loc) · 2.36 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[package]
name = "tilefeed"
version = "0.7.1"
edition = "2021"
description = "PostGIS vector tile pipeline with incremental MBTiles updates via LISTEN/NOTIFY"
license = "MIT"
repository = "https://github.com/muimsd/tilefeed"
keywords = ["postgis", "vector-tiles", "mbtiles", "tippecanoe", "gis"]
categories = ["command-line-utilities", "database"]
readme = "README.md"
rust-version = "1.70"
[dependencies]
# Async runtime
tokio = { version = "1", features = ["full"] }
# PostgreSQL (async, with LISTEN/NOTIFY support)
tokio-postgres = { version = "0.7", features = ["with-serde_json-1", "with-geo-types-0_7"] }
deadpool-postgres = { version = "0.14", features = ["serde"] }
postgres-types = { version = "0.2", features = ["derive"] }
# SQLite for MBTiles
rusqlite = { version = "0.31", features = ["bundled"] }
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# Geometry types
geo-types = "0.7"
geo = "0.28"
# MVT (Mapbox Vector Tile) encoding
prost = "0.13"
prost-types = "0.13"
flate2 = "1"
# Configuration
config = "0.14"
dotenvy = "0.15"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# HTTP client (for Mapbox Uploads API)
reqwest = { version = "0.12", features = ["json", "rustls-tls"], default-features = false }
# Error handling
anyhow = "1"
# Async utilities
futures-util = "0.3"
# CLI
clap = { version = "4", features = ["derive"] }
# HTTP server (for tile serving)
axum = "0.8"
tower-http = { version = "0.6", features = ["cors", "compression-gzip"] }
# Hashing (for ETags and HMAC signing)
sha2 = "0.10"
hmac = "0.12"
hex = "0.4"
# SSE streaming
async-stream = "0.3"
[package.metadata.deb]
maintainer = "muimsd"
depends = "$auto"
section = "utils"
priority = "optional"
assets = [
["target/release/tilefeed", "usr/bin/", "755"],
["README.md", "usr/share/doc/tilefeed/README", "644"],
]
[package.metadata.generate-rpm]
assets = [
{ source = "target/release/tilefeed", dest = "/usr/bin/tilefeed", mode = "0755" },
{ source = "README.md", dest = "/usr/share/doc/tilefeed/README.md", mode = "0644" },
]
[dev-dependencies]
tower = { version = "0.5", features = ["util"] }
cargo-husky = { version = "1", default-features = false, features = ["precommit-hook", "run-cargo-fmt"] }
[[example]]
name = "webhook_sse_demo"
path = "examples/webhook-sse/demo.rs"
[build-dependencies]
prost-build = "0.13"