martin/mbtiles/Cargo.toml

69 lines
2.0 KiB
TOML
Raw Normal View History

[package]
name = "mbtiles"
version = "0.7.4"
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"]
2023-10-31 01:52:21 +03:00
categories = ["science::geo", "database"]
edition.workspace = true
license.workspace = true
2023-07-06 03:56:23 +03:00
repository.workspace = true
rust-version.workspace = true
[features]
default = ["cli"]
cli = ["dep:anyhow", "dep:clap", "dep:env_logger", "dep:serde_yaml", "dep:tokio"]
[dependencies]
enum-display.workspace = true
futures.workspace = true
log.workspace = true
martin-tile-utils.workspace = true
serde_json.workspace = true
serde.workspace = true
serde_with.workspace = true
size_format.workspace = true
sqlite-hashes.workspace = true
sqlx.workspace = true
thiserror.workspace = true
tilejson.workspace = true
# Bin dependencies
anyhow = { workspace = true, optional = true }
clap = { workspace = true, optional = true }
env_logger = { workspace = true, optional = true }
serde_yaml = { workspace = true, optional = true }
tokio = { workspace = true, features = ["rt-multi-thread"], optional = true }
[dev-dependencies]
# For testing, might as well use the same async framework as the Martin itself
actix-rt.workspace = true
approx.workspace = true
ctor.workspace = true
env_logger.workspace = true
insta = { workspace = true, features = ["toml", "yaml"] }
pretty_assertions.workspace = true
rstest.workspace = true
[lib]
path = "src/lib.rs"
[[bin]]
name = "mbtiles"
path = "src/bin/mbtiles.rs"
required-features = ["cli"]
# Lints inheritance from workspace is not yet supported
# Copy/pasting the list, modifying the `unsafe_code` requirement
[lints.rust]
unsafe_code = "allow"
[lints.clippy]
2023-11-17 08:15:29 +03:00
# We are not ready to use pedantic clippy yet
#pedantic = "warn"
derive_partial_eq_without_eq = "allow"
implicit_hasher = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"