| Crates.io | brouter-client |
| lib.rs | brouter-client |
| version | 0.1.6 |
| created_at | 2023-07-09 11:50:33.763365+00 |
| updated_at | 2025-05-17 14:09:09.010977+00 |
| description | API Client implement for brouter |
| homepage | |
| repository | |
| max_upload_size | |
| id | 912017 |
| size | 90,579 |
This rust crate contains a simple client for the API of brouter, a routing engine based on openstreetmap data.
use brouter_client::{Brouter, Point};
let router = Brouter::default();
let gpx = router.broute(&[Point::new(52.3676, 4.9041), Point::new(52.0907, 5.1214)], &[], "trekking", None, None);