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
use osm_api::prelude::*;
#[tokio::test]
async fn test_get_versions() -> Result<()> {
    let result = get_versions().await;
    assert!(result.is_ok());

    Ok(())
}

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

    Ok(())
}