routrs 1.0.0

Geograph-based shortest distance calculation for Rust
Documentation
1
2
3
4
5
6
7
8
use crate::{build_geograph_mod, json, prelude::*};
use lazy_static::lazy_static;
use routrs_maritime_dataset;

build_geograph_mod!(serde_json::from_str::<json::JsonGeograph>(
    &routrs_maritime_dataset::MARITIME_JSON
)
.expect("Failed to parse Maritime Geograph JSON"));