geolite 0.0.11

open source geocode solution
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pub fn command_handler_http_server(
  sqlite_path: &str,
  index_path: &str,
  server: crate::http::bound_server,
  threads: u8,
  boosts: crate::domain::admin_level_hierarchy::tantivy_boosts,
  house_numbers: crate::domain::house_number::house_number_policy,
) {
  crate::cli::require_sqlite(sqlite_path);
  crate::http::serve(
    server,
    sqlite_path,
    index_path,
    threads,
    boosts,
    house_numbers,
  );
}