| Crates.io | pmtiles2 |
| lib.rs | pmtiles2 |
| version | 0.3.1 |
| created_at | 2023-01-12 19:00:13.676312+00 |
| updated_at | 2024-05-25 10:29:23.492162+00 |
| description | A low level implementation of the PMTiles format based on the standard Read and Write (or AsyncRead and AsyncWrite) traits. |
| homepage | |
| repository | https://github.com/arma-place/pmtiles-rs/ |
| max_upload_size | |
| id | 757411 |
| size | 5,615,952 |
This crate includes a low level implementation of the PMTiles format based on the standard Read and Write (or AsyncRead and AsyncWrite from the futures-crate) traits.
It also contains some utilities, which might become handy when working with PMTiles archives. Among others these include functions for (de-)compression with all algorithms supported by PMTiles, as well as functions to convert from and to tile ids.
The documentation includes some examples.
Add following lines to your Cargo.toml:
# Cargo.toml
[dependencies]
pmtiles2 = "0.3"
serdeWith this feature enabled most public types are (de-)serializable by serde.
asyncWith this feature enabled all readable / writable types also support asynchronous readers / writers via the AsyncRead and AsyncWrite traits from the futures-crate.