perfect-postcode/server-rs/Cargo.toml
Andras Schmelczer c938b71904
Some checks failed
CI / Check (push) Failing after 3m22s
Build and publish Docker image / build-and-push (push) Successful in 7m25s
try
2026-06-04 22:34:26 +01:00

64 lines
2.1 KiB
TOML

[package]
name = "property-map-server"
version = "0.1.0"
edition = "2021"
[dependencies]
anyhow = "1"
clap = { version = "4", features = ["derive", "env"] }
axum = "0.8"
tower-http = { version = "0.6", features = ["cors", "fs", "compression-gzip", "compression-zstd", "trace"] }
tokio = { version = "1", features = ["full"] }
polars = { version = "0.53", features = ["parquet", "lazy", "dtype-struct", "dtype-u8", "dtype-u16", "dtype-i8", "dtype-i16", "round_series"] }
h3o = "0.9"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
parking_lot = "0.12"
rayon = "1"
lasso = "0.7"
rustc-hash = "2"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }
tracing-appender = "0.2"
metrics = "0.24"
metrics-exporter-prometheus = "0.18"
reqwest = { version = "0.13", features = ["rustls", "json", "stream", "form"] }
urlencoding = "2"
url = "2"
rust_xlsxwriter = "0.94"
pmtiles = { version = "0.23", features = ["mmap-async-tokio"] }
rand = "0.10"
hmac = "0.13"
sha2 = "0.11"
hex = "0.4"
tower = { version = "0.5", features = ["limit"] }
libc = "0.2"
bytes = "1"
sentry = { version = "0.46.0", default-features = false, features = ["backtrace", "contexts", "debug-images", "panic", "reqwest", "rustls", "tracing", "tower-http", "tower-axum-matched-path"] }
# jemalloc returns freed memory to the OS far more aggressively than glibc malloc
# (which strands freed rayon/Polars load buffers across many per-CPU arenas, inflating
# steady-state RSS). Decay is configured via `malloc_conf` in main.rs.
[target.'cfg(not(target_env = "msvc"))'.dependencies]
tikv-jemallocator = { version = "0.6", features = ["unprefixed_malloc_on_supported_platforms"] }
# Direct mallctl access so we can force-purge dirty pages back to the OS after the
# data load (jemalloc's idle decay/background_thread doesn't reliably return the
# ~30GB of load-time transient buffers without subsequent allocation activity).
tikv-jemalloc-sys = "0.6"
[lints.clippy]
min_ident_chars = "warn"
[profile.dev]
opt-level = 1
[profile.release]
opt-level = 3
lto = "thin"
[profile.production]
inherits = "release"
lto = "fat"
codegen-units = 1
strip = true
panic = "abort"