osm_api/lib.rs
1mod elements;
2
3pub mod prelude {
4 pub use crate::elements::{Attributes, ElementRef, ElementType, Node, Relation, Tag, Way, OSM};
5}
6
7pub const API_URL: &str = "https://api.openstreetmap.org/api/0.6/";
8
9pub struct Bbox {
10 pub min_lat: f64,
11 pub min_lon: f64,
12 pub max_lat: f64,
13 pub max_lon: f64,
14}