Skip to content
/ martin Public
forked from maplibre/martin

Commit

Permalink
Disable mbtiles default features, reserve keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
nyurik committed Jun 14, 2023
1 parent 55d60ac commit 99ea3ff
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ futures = "0.3"
indoc = "2"
itertools = "0.10"
log = "0.4"
martin-mbtiles = { path = "./martin-mbtiles", version = "0.2.0" }
martin-mbtiles = { path = "./martin-mbtiles", version = "0.2.0", default-features = false } # disable tools
martin-tile-utils = { path = "./martin-tile-utils", version = "0.1.0" }
num_cpus = "1"
openssl = "0.10"
Expand Down
3 changes: 2 additions & 1 deletion martin/src/srv/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ use crate::Error::BindingError;
/// List of keywords that cannot be used as source IDs. Some of these are reserved for future use.
/// Reserved keywords must never end in a "dot number" (e.g. ".1")
pub const RESERVED_KEYWORDS: &[&str] = &[
"catalog", "config", "health", "help", "index", "manifest", "refresh", "reload", "status",
"catalog", "config", "font", "health", "help", "index", "manifest", "refresh", "reload",
"sprite", "status",
];

static SUPPORTED_ENCODINGS: &[HeaderEnc] = &[
Expand Down

0 comments on commit 99ea3ff

Please sign in to comment.