osm_api/
lib.rs

1mod apis;
2mod elements;
3mod error;
4
5pub mod prelude {
6    pub use crate::{apis::*, elements::*, error::*};
7}
8
9#[cfg(not(debug_assertions))]
10pub const API_URL: &str = "https://api.openstreetmap.org";
11
12#[cfg(debug_assertions)]
13pub const API_URL: &str = "https://master.apis.dev.openstreetmap.org";
14
15pub struct Bbox {
16    pub min_lat: f64,
17    pub min_lon: f64,
18    pub max_lat: f64,
19    pub max_lon: f64,
20}