Cargo Features

[dependencies]
martin = { version = "0.14.2", default-features = false, features = ["fonts", "lambda", "mbtiles", "pmtiles", "postgres", "sprites", "bless-tests"] }
default = fonts, lambda, mbtiles, pmtiles, postgres, sprites

These default features are set whenever martin is added without default-features = false somewhere in the dependency tree.

fonts default

Enables bit-set ^0.5.3 and pbf_font_tools

Affects config::ServerState.fonts, martin::fonts, server::Catalog.fonts

lambda default

Enables lambda-web

mbtiles default

Enables mbtiles

Affects config::Config.mbtiles, martin::mbtiles, root::parse_file_args

Required by the martin-cp binary

pmtiles default

Enables pmtiles ^0.10

Affects config::Config.pmtiles, martin::pmtiles, root::parse_file_args

postgres default

Enables deadpool-postgres, json-patch ^2.0, postgis, postgres, postgres-protocol, semver, and tokio-postgres-rustls ^0.12

Affects root::Args.pg, martin::CopierArgs.pg, config::Config.postgres, martin::pg

sprites default

Enables spreet, fs of tokio

Affects config::ServerState.sprites, config::Config.sprites, martin::sprites, server::Catalog.sprites

bless-tests