From 133a80115e0645f3e1287e9ce848c6c77df2891b Mon Sep 17 00:00:00 2001 From: Bruce Adams Date: Wed, 16 Jan 2019 09:10:57 -0500 Subject: [PATCH] More package information in Cargo.toml --- Cargo.lock | 2 +- Cargo.toml | 11 ++++++++--- README.md | 18 ++++++------------ 3 files changed, 15 insertions(+), 16 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 845ffc4..b7778ac 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -329,7 +329,7 @@ dependencies = [ [[package]] name = "yj" -version = "0.7.7" +version = "0.7.8" dependencies = [ "failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", "serde_json 1.0.35 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index c9f71b7..8164d3f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,14 +1,19 @@ [package] name = "yj" -version = "0.7.7" +version = "0.7.8" authors = ["Bruce Adams "] -edition = "2018" +categories = ["command-line-utilities"] description = "Command line tool that converts YAML to JSON" -license = "Apache-2.0" +edition = "2018" homepage = "https://github.com/bruceadams/yj" +keywords = ["json", "yaml"] +license = "Apache-2.0" +readme = "README.md" repository = "https://github.com/bruceadams/yj" +[badges] +travis-ci = { repository = "bruceadams/yj" } [dependencies] failure = "0.1" diff --git a/README.md b/README.md index e09b2ce..34d6e8b 100644 --- a/README.md +++ b/README.md @@ -9,30 +9,24 @@ Simple command line tool to convert a YAML input file into a JSON output file. ```bash $ yj --help -yj 0.4.0 +yj 0.7.8 Bruce Adams Read YAML, write JSON USAGE: - yj [FLAGS] [OPTIONS] [input] + yj.exe [FLAGS] [OPTIONS] [input] FLAGS: -c, --compact Use compact formatting for the JSON output. -h, --help Prints help information - -j, --json Parse the input as JSON. For more use cases, - this option makes no difference. Valid JSON is - valid YAML, so JSON input will (should?) parse - correctly even when being handled with the - YAML parser. Use this option when you want - failure (instead of weird results) when the - input is invalid JSON. + -j, --json Parse the input as JSON. For most use cases, this option makes no difference. Valid JSON is valid + YAML, so JSON input will (should?) parse correctly even when being handled with the YAML parser. + Use this option when you want failure (instead of weird results) when the input is invalid JSON. -V, --version Prints version information -y, --yaml Format the output as YAML instead of JSON. OPTIONS: - -o, --output - Output file name for the JSON. Defaults to stdout. - + -o, --output Output file name for the JSON. Defaults to stdout. ARGS: Input YAML file name. Defaults to stdin.