[package]
edition = "2024"
rust-version = "1.98"
name = "mlt"
version = "0.1.26"
authors = ["Maplibre Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MapLibre Tile Tools"
homepage = "https://maplibre.org"
readme = "README.md"
keywords = [
"maplibre",
"tile",
"mlt",
"mvt",
"map",
]
categories = ["science::geo"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/maplibre/maplibre-tile-spec"
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/rust-{ name }-v{ version }/{ name }-{ target }{ archive-suffix }"
pkg-fmt = "tgz"
[package.metadata.binstall.overrides.'cfg(target_os = "windows")']
pkg-fmt = "zip"
[features]
hotpath = [
"hotpath/hotpath",
"hotpath/tokio",
"hotpath/threads",
"hotpath/tui",
]
hotpath-alloc = [
"hotpath",
"hotpath/hotpath-alloc",
]
hotpath-mcp = [
"hotpath",
"hotpath/hotpath-mcp",
"hotpath/hotpath-mcp-meta",
]
unstable-v2 = ["mlt-core/unstable-v2"]
[[bin]]
name = "mlt"
path = "src/main.rs"
[dependencies.anyhow]
version = "1"
[dependencies.bytes]
version = "1"
[dependencies.clap]
version = "4.6.0"
features = ["derive"]
[dependencies.crossbeam-channel]
version = "0.5"
[dependencies.crossterm]
version = "0.29.0"
[dependencies.flate2]
version = "1"
[dependencies.futures]
version = "0.3"
[dependencies.glob]
version = "0.3"
[dependencies.globset]
version = "0.4"
[dependencies.hotpath]
version = "0.24"
[dependencies.indicatif]
version = "0.18"
[dependencies.martin-tile-utils]
version = "0.7"
[dependencies.mbtiles]
version = "0.19"
features = ["transcode"]
default-features = false
[dependencies.mimalloc]
version = "0.1.52"
[dependencies.mlt-core]
version = "0.12.7"
[dependencies.moka]
version = "0.12"
features = ["sync"]
[dependencies.pmtiles]
version = "0.24.0"
[dependencies.ratatui]
version = "0.30.1"
[dependencies.rayon]
version = "1"
[dependencies.rstar]
version = "0.13"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.150"
[dependencies.size_format]
version = "1"
[dependencies.sqlx]
version = "0.9"
features = [
"sqlite",
"runtime-tokio",
]
default-features = false
[dependencies.tabled]
version = "0.21"
[dependencies.thousands]
version = "0.2"
[dependencies.tokio]
version = "1"
features = [
"macros",
"rt",
"sync",
"time",
]
[dependencies.usize_cast]
version = "1.1.0"
[dependencies.walkdir]
version = "2"
[dependencies.xxhash-rust]
version = "0.8"
features = ["xxh3"]
[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
multiple_crate_versions = "allow"
panic_in_result_fn = "warn"
todo = "warn"
too_many_lines = "allow"
unimplemented = "warn"
use_self = "warn"
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"
unused_qualifications = "warn"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(fuzzing)"]