osm-api 0.1.1

Rust binding for the Open Street Map Api
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use osm_api::prelude::*;

#[tokio::test]
async fn test_get_versions_json() -> Result<()> {
    let result = get_versions_json().await;
    assert!(result.is_ok());

    Ok(())
}

#[tokio::test]
async fn test_get_capabilities_json() -> Result<()> {
    let result = get_capabilities_json().await;
    assert!(result.is_ok());

    Ok(())
}