Skip to content

Commit bd80fb0

Browse files
committed
Added JSON support
warning fixes, and clap upgrade updated README added CSV creation test another CSV test a third CSV test added JSON file tests
1 parent f43949f commit bd80fb0

11 files changed

Lines changed: 596 additions & 69 deletions

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ target
22
*.csv
33
private-data
44

5+
tmp/

Cargo.lock

Lines changed: 190 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "verticareader"
3-
version = "1.1.2"
3+
version = "1.2.0"
44
authors = ["Joey Gibson <joey@joeygibson.com>"]
55
edition = "2018"
66
description = "A program to read Vertica native binary files and convert them to CSV."
@@ -13,8 +13,18 @@ publish = false
1313
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1414

1515
[dependencies]
16-
clap = "2"
16+
clap = "3"
1717
chrono = "0.4"
1818
csv = "1.1"
1919
regex = "1.6"
2020
lazy_static = "1.4.0"
21+
serde_json = "1.0"
22+
23+
[dependencies.uuid]
24+
version = "1.1.2"
25+
features = [
26+
"v4", # Lets you generate random UUIDs
27+
"fast-rng", # Use a faster (but still sufficiently random) RNG
28+
"macro-diagnostics", # Enable better diagnostics for compile-time UUIDs
29+
]
30+

0 commit comments

Comments
 (0)