// the find
stadiamaps/pmtiles-rs
Rust implementation of PMTiles
Rust implementation of the PMTiles v3 spec — a single-file archive format for map tiles that supports range requests, making it practical to serve tiles directly from S3 or a CDN without a tile server. Maintained by Stadia Maps, who have production skin in the game. Targets async Rust (Tokio) throughout.
Backend coverage is genuinely good: mmap, HTTP, S3 (both via aws-sdk-s3 and rust-s3), and the object_store abstraction covers Azure/GCP/in-memory in one shot. The DirectoryCache trait is a clean seam — you can swap in a real LRU without touching reader code. Write support exists, which most alternative implementations lack. CI includes cargo-deny and a maintained MSRV lockfile, signs of a crate that takes dependency hygiene seriously.
The README admits docs and examples are a TODO, and the AWS S3 usage example just punts to the SDK docs rather than showing anything real. HashMapCache has no eviction and the README warns against it in production, but there's no provided alternative — you're on your own implementing DirectoryCache. No sync backend exists yet, so embedding this in a non-async context means pulling in Tokio. Stars are still low (103), meaning the community surface for bug reports and compatibility feedback is thin.