Skip to main content

cairn_import_geonames/
lib.rs

1//! Geonames TSV → populated-place `Place` stream.
2//!
3//! Phase 0 stub. Phase 1 wires `csv`.
4
5#![allow(dead_code)]
6
7use cairn_place::Place;
8use thiserror::Error;
9
10#[derive(Debug, Error)]
11pub enum ImportError {
12    #[error("io: {0}")]
13    Io(#[from] std::io::Error),
14}
15
16pub fn import(_tsv_path: &std::path::Path) -> Result<Vec<Place>, ImportError> {
17    Ok(Vec::new())
18}