mirror of
https://github.com/maplibre/maplibre-rs.git
synced 2025-12-08 19:05:57 +00:00
Prepare for publishing on crates.io (#46)
* Update geozero * Make maplibre- packages ready for publishing
This commit is contained in:
parent
187cf9f5a9
commit
a10ab2f888
@ -4,6 +4,9 @@ version = "0.1.0"
|
||||
description = "A library with build tools for maplibre-rs"
|
||||
categories = []
|
||||
edition = "2021"
|
||||
authors = ["Maximilian Ammann <max@maxammann.org>"]
|
||||
license = "MIT OR Apache-2.0"
|
||||
readme = "../README.md"
|
||||
|
||||
[dependencies]
|
||||
naga = { version = "0.8", features = ["wgsl-in"] }
|
||||
|
||||
@ -1,9 +1,12 @@
|
||||
[package]
|
||||
name = "maplibre-demo"
|
||||
version = "0.1.0"
|
||||
description = ""
|
||||
categories = []
|
||||
edition = "2021"
|
||||
authors = ["Maximilian Ammann <max@maxammann.org>"]
|
||||
license = "MIT OR Apache-2.0"
|
||||
description = "Demo of maplibre"
|
||||
readme = "../README.md"
|
||||
|
||||
[features]
|
||||
web-webgl = ["maplibre/web-webgl"]
|
||||
@ -11,7 +14,7 @@ enable-tracing = ["maplibre/enable-tracing", "tracing-subscriber", "tracing-trac
|
||||
|
||||
[dependencies]
|
||||
env_logger = "0.9"
|
||||
maplibre = { path = "../maplibre", version = "0.1.0" }
|
||||
maplibre = { path = "../maplibre", version = "0.0.2" }
|
||||
|
||||
tracing = { version = "0.1" }
|
||||
tracing-subscriber = { version = "0.3", optional = true }
|
||||
|
||||
@ -1,10 +1,12 @@
|
||||
[package]
|
||||
name = "maplibre"
|
||||
version = "0.1.0"
|
||||
authors = ["Maximilian Ammann <max@maxammann.org>"]
|
||||
version = "0.0.2"
|
||||
edition = "2021"
|
||||
build = "build.rs"
|
||||
authors = ["Maximilian Ammann <max@maxammann.org>"]
|
||||
license = "MIT OR Apache-2.0"
|
||||
description = "Native Maps for Web, Mobile and Desktop"
|
||||
readme = "../README.md"
|
||||
|
||||
[features]
|
||||
web-webgl = ["wgpu/webgl"]
|
||||
@ -57,8 +59,8 @@ cgmath = "0.18"
|
||||
geo = { version = "0.19" }
|
||||
geo-types = { version = "0.7", features = ["use-rstar_0_9"] }
|
||||
rstar = { version = "0.9" }
|
||||
prost = "0.9"
|
||||
geozero = { git = "https://github.com/georust/geozero", rev = "373b731", default-features = false, features = ["with-mvt", "with-geo"]}
|
||||
prost = "0.10.1"
|
||||
geozero = { version = "0.9.4", default-features = false, features = ["with-mvt", "with-geo"]}
|
||||
|
||||
tile-grid = "0.3"
|
||||
|
||||
|
||||
@ -267,7 +267,7 @@ impl FeatureProcessor for IndexProcessor {
|
||||
}
|
||||
/// End of feature geometry processing
|
||||
fn geometry_end(&mut self) -> Result<(), GeozeroError> {
|
||||
let geometry = self.geo_writer.geometry().clone();
|
||||
let geometry = self.geo_writer.geometry().cloned().unwrap();
|
||||
|
||||
match geometry {
|
||||
Geometry::Polygon(polygon) => self.geometries.push(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user