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
somewhere in the dependency tree.default-features = false - 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
-
Affects
config::Config.cog
,martin::cog
,root::parse_file_args
… - styles default
-
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
-
Affects
root::ExtraArgs.sprite
,config::ServerState.sprites
,config::Config.sprites
,martin::sprites
,server::Catalog.sprites
… - bless-tests