# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.76" name = "mbtiles" version = "0.11.1" authors = [ "Yuri Astrakhan ", "MapLibre contributors", ] description = "A simple low-level MbTiles access and processing library, with some tile format detection and other relevant heuristics." readme = "README.md" keywords = [ "mbtiles", "maps", "tiles", "mvt", "tilejson", ] categories = [ "science::geo", "database", ] license = "MIT OR Apache-2.0" repository = "https://github.com/maplibre/martin" [lib] path = "src/lib.rs" [[bin]] name = "mbtiles" path = "src/bin/mbtiles.rs" required-features = ["cli"] [dependencies.anyhow] version = "1.0" optional = true [dependencies.clap] version = "4" features = ["derive"] optional = true [dependencies.enum-display] version = "0.1" [dependencies.env_logger] version = "0.11" optional = true [dependencies.flume] version = "0.11" [dependencies.futures] version = "0.3" [dependencies.itertools] version = "0.13" [dependencies.log] version = "0.4" [dependencies.martin-tile-utils] version = "0.5.1" [dependencies.md5] version = "0.7.0" [dependencies.num_cpus] version = "1" [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.serde_with] version = "3" [dependencies.serde_yaml] version = "0.9" optional = true [dependencies.size_format] version = "1.0.2" [dependencies.sqlite-compressions] version = "0.2.12" features = [ "bsdiffraw", "gzip", ] default-features = false [dependencies.sqlite-hashes] version = "0.7.3" features = [ "md5", "aggregate", "hex", ] default-features = false [dependencies.sqlx] version = "0.7" features = [ "sqlite", "runtime-tokio", ] [dependencies.thiserror] version = "1" [dependencies.tilejson] version = "0.4" [dependencies.tokio] version = "1" features = [ "macros", "rt-multi-thread", ] [dependencies.xxhash-rust] version = "0.8" features = ["xxh3"] [dev-dependencies.actix-rt] version = "2" [dev-dependencies.ctor] version = "0.2" [dev-dependencies.env_logger] version = "0.11" [dev-dependencies.insta] version = "1" features = [ "toml", "yaml", ] [dev-dependencies.pretty_assertions] version = "1" [dev-dependencies.rstest] version = "0.21" [features] cli = [ "dep:anyhow", "dep:clap", "dep:env_logger", "dep:serde_yaml", ] default = ["cli"] [lints.clippy] derive_partial_eq_without_eq = "allow" implicit_hasher = "allow" missing_errors_doc = "allow" missing_panics_doc = "allow" module_name_repetitions = "allow" [lints.clippy.pedantic] level = "warn" priority = -1 [lints.rust] unused_qualifications = "warn"