geocoder-core 0.4.1

Address geocoding and autocomplete ported from addok, with country profiles for France (BAN), Luxembourg and Belgium
Documentation
1
2
3
4
5
6
7
use crate::doc::Document;
use crate::error::GeocoderError;

/// The BAN exports are already in addok's format.
pub fn parse_line(line: &str) -> Result<Document, GeocoderError> {
    Ok(serde_json::from_str(line)?)
}