Cargo Features

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

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

webui default

Enables actix-web-static-files, static-files, and walkdir

Affects srv::SrvArgs.web_ui, srv::WebUiMode, config::SrvConfig.web_ui

fonts default

Enables bit-set and pbf_font_tools

Affects root::ExtraArgs.font, config::ServerState.fonts, config::Config.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

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

cog default

Enables png and tiff

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

styles default

Enables walkdir, fs of tokio

Affects root::ExtraArgs.style, config::ServerState.styles, config::Config.styles, martin::styles, server::Catalog.styles, root::parse_file_args

postgres default

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

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

sprites default

Enables spreet, fs of tokio

Affects root::ExtraArgs.sprite, config::ServerState.sprites, config::Config.sprites, martin::sprites, server::Catalog.sprites

bless-tests