-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
33 lines (28 loc) · 1.11 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[package]
name = "mvt-reader"
version = "1.6.0"
description = "A library for decoding and reading mapbox vector tiles in Rust and WebAssembly"
authors = ["Paul Lange <[email protected]>"]
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.216", features = ["derive"] }
serde_json = "1.0.133"
prost = { version = "0.13.4" } # for testing we need default-features to be enabled
[build-dependencies]
prost-build = "0.13.4"