From 83175c1a3a58802e758aa88aabcca20d6e197828 Mon Sep 17 00:00:00 2001 From: Seamus Abshere Date: Thu, 5 Dec 2019 11:33:42 -0500 Subject: [PATCH] Allow 'glob' as an alias for 'address' --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/addresses.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d7e91cf..f316115 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -364,7 +364,7 @@ dependencies = [ [[package]] name = "geocode-csv" -version = "0.2.0" +version = "0.2.1" dependencies = [ "cli_test_dir 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", "common_failures 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index 0256e64..3338577 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "geocode-csv" -version = "0.2.0" +version = "0.2.1" authors = ["Eric Kidd "] edition = "2018" diff --git a/src/addresses.rs b/src/addresses.rs index 38a1e14..2f6fac3 100644 --- a/src/addresses.rs +++ b/src/addresses.rs @@ -67,7 +67,7 @@ impl ColumnKeyOrKeys { pub struct AddressColumnKeys { /// The name of street column or columns. May also be specified as /// "house_number_and_street" or "address". - #[serde(alias = "house_number_and_street", alias = "address")] + #[serde(alias = "house_number_and_street", alias = "address", alias = "glob")] pub street: ColumnKeyOrKeys, /// The city column, if any. #[serde(default)]