-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
37 lines (32 loc) · 1.38 KB
/
Cargo.toml
File metadata and controls
37 lines (32 loc) · 1.38 KB
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
34
35
36
37
[package]
name = "mvt-reader"
version = "2.3.0"
description = "A library for decoding and reading mapbox vector tiles in Rust and WebAssembly"
authors = ["Paul Lange <paul.lange@data-experts.de>"]
repository = "https://github.com/codeart1st/mvt-reader"
keywords = ["rust", "webassembly", "wasm", "pbf", "mvt"]
include = ["/src", "/LICENSE", "/build.rs", "vector_tile.proto"]
license = "MIT"
edition = "2024"
[lib]
crate-type = ["cdylib", "rlib"]
[features]
wasm = ["wasm-bindgen", "serde-wasm-bindgen", "js-sys", "geojson", "serde", "serde_json"]
protoc = ["prost-build"]
protoc-generated = ["prost-build"]
[dependencies]
geo-types = { version = "0.7", default-features = false }
num-traits = { version = "0.2", default-features = false, features = ["libm"] }
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 = "1.0", optional = true }
serde = { version = "1.0", optional = true }
serde_json = { version = "1.0", optional = true }
[dev-dependencies]
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.149"
prost = { version = "0.13.5" } # for testing we need default-features to be enabled
[build-dependencies]
prost-build = { version = "0.14.3", optional = true }