mvt-reader 2.3.0

A library for decoding and reading mapbox vector tiles in Rust and WebAssembly
Documentation
# 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 = "2024"
name = "mvt-reader"
version = "2.3.0"
authors = ["Paul Lange <paul.lange@data-experts.de>"]
build = "build.rs"
include = [
    "/src",
    "/LICENSE",
    "/build.rs",
    "vector_tile.proto",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library for decoding and reading mapbox vector tiles in Rust and WebAssembly"
readme = "README.md"
keywords = [
    "rust",
    "webassembly",
    "wasm",
    "pbf",
    "mvt",
]
license = "MIT"
repository = "https://github.com/codeart1st/mvt-reader"

[features]
protoc = ["prost-build"]
protoc-generated = ["prost-build"]
wasm = [
    "wasm-bindgen",
    "serde-wasm-bindgen",
    "js-sys",
    "geojson",
    "serde",
    "serde_json",
]

[lib]
name = "mvt_reader"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[dependencies.geo-types]
version = "0.7"
default-features = false

[dependencies.geojson]
version = "0.24"
optional = true

[dependencies.js-sys]
version = "0.3"
optional = true

[dependencies.num-traits]
version = "0.2"
features = ["libm"]
default-features = false

[dependencies.prost]
version = "0.13"
features = [
    "prost-derive",
    "std",
]
default-features = false

[dependencies.serde]
version = "1.0"
optional = true

[dependencies.serde-wasm-bindgen]
version = "0.6"
optional = true

[dependencies.serde_json]
version = "1.0"
optional = true

[dependencies.wasm-bindgen]
version = "0.2"
optional = true

[dev-dependencies.prost]
version = "0.13.5"

[dev-dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1.0.149"

[build-dependencies.prost-build]
version = "0.14.3"
optional = true