From 6eee06a51a31377acad650dabd089bdc12b5ca6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Rodrigues=20Miguel?= Date: Wed, 24 Mar 2021 17:51:59 -0300 Subject: [PATCH] Bump app version --- Cargo.lock | 2 +- Cargo.toml | 2 +- README.md | 18 +++++++++++++++--- src/cli.rs | 2 +- 4 files changed, 18 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 564aa3e..d7b0e3b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -189,7 +189,7 @@ dependencies = [ [[package]] name = "ouch" -version = "0.1.0" +version = "0.1.1" dependencies = [ "bzip2 0.4.2", "clap", diff --git a/Cargo.toml b/Cargo.toml index f72c758..8fe65de 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ouch" -version = "0.1.0" +version = "0.1.1" authors = ["Vinícius Rodrigues Miguel "] edition = "2018" readme = "README.md" diff --git a/README.md b/README.md index 28b8fc7..2c191f3 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ `ouch` infers commands from the extensions of its command-line options. ``` -ouch 0.1.0 +ouch 0.1.1 Vinícius R. Miguel ouch is a unified compression & decompression utility @@ -92,7 +92,19 @@ The last dependency is a recent [Rust](https://www.rust-lang.org/) toolchain. If Once the dependency requirements are met: +* Installing from [Crates.io](https://crates.io) + ```bash -git clone https://github.com/vrmiguel/jacarex # Clone the repo. -cargo install --path ouch # .. and install it +cargo install ouch ``` + +* Cloning and building + +```bash +git clone https://github.com/vrmiguel/ouch +cargo install --path ouch +# or +cd ouch && cargo run --release +``` + +I also recommend stripping the release binary. `ouch`'s release binary (at the time of writing) only takes up a megabyte in space when stripped. diff --git a/src/cli.rs b/src/cli.rs index fbde865..210730f 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -27,7 +27,7 @@ pub struct Command { pub fn clap_app<'a, 'b>() -> clap::App<'a, 'b> { clap::App::new("ouch") - .version("0.1.0") + .version("0.1.1") .about("ouch is a unified compression & decompression utility") .after_help( "ouch infers what to based on the extensions of the input files and output file received.