Skip to content

Commit

Permalink
Allow 'glob' as an alias for 'address'
Browse files Browse the repository at this point in the history
  • Loading branch information
seamusabshere committed Dec 5, 2019
1 parent da53c1b commit 83175c1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "geocode-csv"
version = "0.2.0"
version = "0.2.1"
authors = ["Eric Kidd <[email protected]>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion src/addresses.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ impl ColumnKeyOrKeys<usize> {
pub struct AddressColumnKeys<K: Default + Eq> {
/// 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<K>,
/// The city column, if any.
#[serde(default)]
Expand Down

0 comments on commit 83175c1

Please sign in to comment.