Skip to content

Commit da53c1b

Browse files
committed
v0.2.0: Add --duplicate-columns
The `--replace` flag from v0.2.0-alpha.1 has been removed. Instead, you may now specify one of the following: `--duplicate-columns=error` (default): Fail if any output columns already exist in the input CSV. `--duplicate-columns=replace` (default): Remove any input columns which have the same name as output columns before geocoding. `--duplicate-columns=append` (default): Just add the output columns and don't worry about duplicates. Users migrating from 0.1.x should specify `--duplicate-columns=append` if they want to maintain backwards compatibility. This version also ships with a more extensive set of integration tests, which actually run `geocode-csv` as a CLI tool, and which use the real SmartyStreets API.
1 parent be78e67 commit da53c1b

File tree

2 files changed

+41
-2
lines changed

2 files changed

+41
-2
lines changed

Cargo.lock

Lines changed: 28 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,19 @@
11
[package]
22
name = "geocode-csv"
3-
version = "0.2.0-alpha.1"
3+
version = "0.2.0"
44
authors = ["Eric Kidd <git@randomhacks.net>"]
55
edition = "2018"
66

7+
description = "Unofficial CLI tool to bulk geocode CSV data using the SmartyStreets API"
8+
license = "Apache-2.0 OR MIT"
9+
readme = "README.md"
10+
repository = "https://github.com/faradayio/geocode-csv"
11+
documentation = "https://github.com/faradayio/geocode-csv"
12+
13+
14+
[dev-dependencies]
15+
cli_test_dir = "0.1.7"
16+
717
[dependencies]
818
common_failures = "0.1.1"
919
csv = "1.0.7"
@@ -18,5 +28,7 @@ serde = { version = "1.0.92", features = ["derive"] }
1828
# specifications in a way that puts the right data in the right output columns.
1929
serde_json = { version = "1.0.39", features = ["preserve_order"] }
2030
structopt = "0.3.4"
31+
strum = "0.16.0"
32+
strum_macros = "0.16.0"
2133
tokio = "0.1"
2234
url = "1.7.2"

0 commit comments

Comments
 (0)