[package] name = "mvt-reader" version = "1.5.0" description = "A library for decoding and reading mapbox vector tiles in Rust and WebAssembly" authors = ["Paul Lange "] repository = "https://github.com/codeart1st/mvt-reader" keywords = ["rust", "webassembly", "wasm", "pbf", "mvt"] include = ["/src", "/LICENSE", "/build.rs", "vector_tile.proto"] license = "MIT" edition = "2021" [lib] crate-type = ["cdylib", "rlib"] [features] wasm = ["wasm-bindgen", "serde-wasm-bindgen", "js-sys", "geojson", "serde"] [dependencies] geo-types = "0.7" prost = { version = "0.13", default-features = false, features = ["prost-derive", "std"] } wasm-bindgen = { version = "0.2", optional = true } serde-wasm-bindgen = { version = "0.6", optional = true } js-sys = { version = "0.3", optional = true } geojson = { version = "0.24", optional = true } serde = { version = "1.0", optional = true } [dev-dependencies] serde = { version = "1.0.204", features = ["derive"] } serde_json = "1.0.120" prost = { version = "0.13.1" } # for testing we need default-features to be enabled [build-dependencies] prost-build = "0.13.1"