martin/martin-mbtiles/Cargo.toml

42 lines
1.1 KiB
TOML
Raw Normal View History

[package]
name = "martin-mbtiles"
2023-06-04 22:04:42 +03:00
version = "0.2.1"
authors = ["Yuri Astrakhan <YuriAstrakhan@gmail.com>", "MapLibre contributors"]
description = "A simple low-level MbTiles access and processing library, with some tile format detection and other relevant heuristics."
2023-03-25 21:44:36 +03:00
keywords = ["mbtiles", "maps", "tiles", "mvt", "tilejson"]
edition.workspace = true
rust-version.workspace = true
repository.workspace = true
license.workspace = true
[features]
# TODO: Disable "tools" feature in default builds
default = ["tools"]
tools = ["anyhow", "clap", "tokio"]
[dependencies]
futures.workspace = true
log.workspace = true
martin-tile-utils.workspace = true
serde_json.workspace = true
sqlx.workspace = true
thiserror.workspace = true
tilejson.workspace = true
# Bin dependencies
anyhow = { workspace = true, optional = true }
clap = { workspace = true, optional = true }
tokio = { workspace = true, optional = true }
[dev-dependencies]
# For testing, might as well use the same async framework as the Martin itself
actix-rt.workspace = true
[lib]
path = "src/lib.rs"
[[bin]]
name = "mbtiles"
path = "src/bin/main.rs"
required-features = ["tools"]