finds.dev

stadiamaps/pmtiles-rs

Rust implementation of PMTiles

View on GitHub

★ 103RustApache-2.0updated Jun 2026

// the take

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.

We read the README, the directory tree and a key source file in June 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
103
Forks
21
Language
Rust
License
Apache-2.0
Last commit
13 Jun 2026

// nearby

If pmtiles-rs isn't quite it.

All repos →