Crate martin_core

Crate martin_core 

Source
Expand description

§martin-core

docs.rs docs GitHub crates.io version CI build

The library providing the basic building blocks for Martin.

§Features

  • tiles
    • mbtiles
    • pmtiles
    • cog
    • postgres tables
    • postgres functions
  • resources
    • sprites
    • fonts
    • styles

§License

Licensed under either of

§Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Modules§

cache
Cache utilities.
config
Configuration utilities.
fonts
Font processing and serving for map tile rendering.
sprites
Sprite processing and serving for map tile rendering.
styles
Style processing and serving for map tile rendering.
tiles
Tile sources Tile management and representation for Martin tile server.

Macros§

from_cache_value
Extracts typed data from cache values with panic on type mismatch.
get_cached_value
Retrieves a value from cache if present, returning None on cache miss.
get_or_insert_cached_value
Gets a value from cache or computes and inserts it on cache miss.