mirror of
https://github.com/maplibre/martin.git
synced 2024-12-21 05:41:55 +03:00
3dc54d7f9e
Add a top level config parameter -- the size of cache memory (in MB) to use for caching tiles and PMT directories, defaulting to 512, and 0 to disable. This also removes the `pmtiles.dir_cache_size_mb` parameter (it will be ignored, but will give a warning) ``` cache_size_mb: 512 ``` The new cache will contain all tiles as provided by the source. So if PostgreSQL returns a non-compressed tile, the cache will contain the uncompressed variant, and will be compressed for each response. This will be fixed in the later releases. Note that fonts and sprites are not cached at this time, and are still a TODO.
24 lines
696 B
TOML
24 lines
696 B
TOML
lints.workspace = true
|
|
|
|
[package]
|
|
name = "martin-tile-utils"
|
|
version = "0.4.1"
|
|
authors = ["Yuri Astrakhan <YuriAstrakhan@gmail.com>", "MapLibre contributors"]
|
|
description = "Utilites to help with map tile processing, such as type and compression detection. Used by the MapLibre's Martin tile server."
|
|
keywords = ["maps", "tiles", "mvt", "tileserver"]
|
|
categories = ["science::geo", "parsing"]
|
|
exclude = [
|
|
# Exclude the fixtures directory from the package - it's only used for tests.
|
|
"/fixtures",
|
|
]
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[dependencies]
|
|
|
|
[dev-dependencies]
|
|
approx.workspace = true
|
|
insta.workspace = true
|