openstreetmap-api 0.3.1

Rust client for the OpenstreetMap API.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use openstreetmap_api::types;
use rstest::fixture;

#[fixture]
#[inline]
pub fn credentials() -> types::Credentials {
    types::Credentials::Basic("user".into(), "password".into())
}

#[fixture]
#[inline]
pub fn no_credentials() -> types::Credentials {
    types::Credentials::None
}