diff --git a/Cargo.toml b/Cargo.toml index 0dae4393..cbbae5a0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "osmpbfreader" -version = "0.19.0" +version = "0.19.1" authors = ["Guillaume Pinot "] description = "Read OpenStreetMap PBF files in rust." documentation = "https://docs.rs/osmpbfreader" diff --git a/src/blocks.rs b/src/blocks.rs index a1769115..d66cadcf 100644 --- a/src/blocks.rs +++ b/src/blocks.rs @@ -14,7 +14,7 @@ use pub_iterator_type::pub_iterator_type; pub_iterator_type! { #[doc="Iterator on the `OsmObj` of a `PrimitiveBlock`."] - OsmObjs['a] = Box + 'a> + OsmObjs['a] = Box + 'a + Send> } pub fn iter(block: &PrimitiveBlock) -> OsmObjs { @@ -24,7 +24,7 @@ pub fn iter(block: &PrimitiveBlock) -> OsmObjs { pub_iterator_type! { #[doc="Iterator on the `Node` of a `PrimitiveBlock`."] - Nodes['a] = Box + 'a> + Nodes['a] = Box + 'a + Send> } pub fn nodes(block: &PrimitiveBlock) -> Nodes { @@ -34,7 +34,7 @@ pub fn nodes(block: &PrimitiveBlock) -> Nodes { pub_iterator_type! { #[doc="Iterator on the `Way` of a `PrimitiveBlock`."] - Ways['a] = Box + 'a> + Ways['a] = Box + 'a + Send> } pub fn ways(block: &PrimitiveBlock) -> Ways { @@ -44,7 +44,7 @@ pub fn ways(block: &PrimitiveBlock) -> Ways { pub_iterator_type! { #[doc="Iterator on the `Relation` of a `PrimitiveBlock`."] - Relations['a] = Box + 'a> + Relations['a] = Box + 'a + Send> } pub fn relations(block: &PrimitiveBlock) -> Relations {