diff --git a/Cargo.lock b/Cargo.lock index b8dfd45..269500f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -179,7 +179,7 @@ dependencies = [ name = "commit-msg-gen" version = "0.1.0" dependencies = [ - "quicli 0.2.0", + "quicli 0.3.0", "reqwest 0.8.5 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.63 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -413,7 +413,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" name = "head" version = "0.1.0" dependencies = [ - "quicli 0.2.0", + "quicli 0.3.0", ] [[package]] @@ -843,7 +843,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "quicli" -version = "0.2.0" +version = "0.3.0" dependencies = [ "clap-verbosity-flag 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "env_logger 0.5.10 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1265,7 +1265,7 @@ name = "thumbify" version = "0.1.0" dependencies = [ "image 0.18.0 (registry+https://github.com/rust-lang/crates.io-index)", - "quicli 0.2.0", + "quicli 0.3.0", ] [[package]] @@ -1538,7 +1538,7 @@ name = "verbosity" version = "0.1.0" dependencies = [ "assert_cli 0.5.4 (registry+https://github.com/rust-lang/crates.io-index)", - "quicli 0.2.0", + "quicli 0.3.0", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 224ee61..5641ede 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "quicli" -version = "0.2.0" +version = "0.3.0" description = "Quickly build cool CLI apps in Rust." authors = ["Pascal Hertleif "] readme = "Readme.md" diff --git a/Changelog.md b/Changelog.md index 1ef7066..aaddc5d 100644 --- a/Changelog.md +++ b/Changelog.md @@ -6,10 +6,16 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +## [0.3.0] - 2018-06-10 + ### Added - The full code of the example projects from the guides is now also available in the repository's [`examples/`] directory. +- A `full-throttle` feature was added and is enabled by default. Most + dependencies are now optional and only available when this feature (or the + dependency itself) is enabled. In practice, this means you can easily opt-out + of default quicli features and only enable what you need. [`examples/`]: https://github.com/killercup/quicli/tree/master/examples @@ -20,6 +26,19 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Changed - `prelude::LoggerBuiler` has been renamed to `prelude::LoggerBuilder` +- Now prints all causes after printing error in `main!` +- Update rayon to 1.0 +- We now use the new [clap-verbosity-flag] crate for adding that `-v` flag: + + ```rust + #[derive(Debug, StructOpt)] + struct Cli { + #[structopt(flatten)] + verbosity: Verbosity, + } + ``` + +[clap-verbosity-flag]: https://crates.io/crates/clap-verbosity-flag ## [0.2.0] - 2018-02-11 @@ -92,7 +111,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Commit Message generator example - read/write file functions -[Unreleased]: https://github.com/killercup/quicli/compare/v0.2.0...HEAD +[Unreleased]: https://github.com/killercup/quicli/compare/v0.3.0...HEAD +[0.3.0]: https://github.com/killercup/quicli/compare/v0.2.0...v0.3.0 [0.2.0]: https://github.com/killercup/quicli/compare/v0.1.4...v0.2.0 [0.1.4]: https://github.com/killercup/quicli/compare/v0.1.3...v0.1.4 [0.1.3]: https://github.com/killercup/quicli/compare/v0.1.2...v0.1.3 diff --git a/docs/Readme.md b/docs/Readme.md index 5159d54..b11ee1e 100644 --- a/docs/Readme.md +++ b/docs/Readme.md @@ -43,7 +43,7 @@ Add _quicli_ as an dependency by adding this line to the `Cargo.toml` file: ```toml file=Cargo.toml -quicli = "0.2" +quicli = "0.3" ``` ## Import quicli diff --git a/docs/commit.md b/docs/commit.md index dfcab26..4772d4a 100644 --- a/docs/commit.md +++ b/docs/commit.md @@ -23,7 +23,7 @@ authors = ["Your Name "] Add quicli to your dependencies: ```toml file=Cargo.toml -quicli = "0.2" +quicli = "0.3" ``` We'll get out commit messages from the glorious website diff --git a/docs/thumbnails.md b/docs/thumbnails.md index 37bec79..7af8bf6 100644 --- a/docs/thumbnails.md +++ b/docs/thumbnails.md @@ -31,7 +31,7 @@ authors = ["Your Name "] As always, add _quicli_ to your dependencies: ```toml file=Cargo.toml -quicli = "0.2" +quicli = "0.3" ``` Since we need to resize images, diff --git a/examples/Readme/Cargo.toml b/examples/Readme/Cargo.toml index 00c626b..5a18778 100644 --- a/examples/Readme/Cargo.toml +++ b/examples/Readme/Cargo.toml @@ -4,4 +4,4 @@ version = "0.1.0" authors = ["Your Name "] [dependencies] -quicli = "0.2" +quicli = "0.3" diff --git a/examples/commit/Cargo.toml b/examples/commit/Cargo.toml index 2f86b82..11634b3 100644 --- a/examples/commit/Cargo.toml +++ b/examples/commit/Cargo.toml @@ -4,6 +4,6 @@ version = "0.1.0" authors = ["Your Name "] [dependencies] -quicli = "0.2" +quicli = "0.3" reqwest = "0.8" serde = "1" diff --git a/examples/thumbnails/Cargo.toml b/examples/thumbnails/Cargo.toml index b23ea99..856cd10 100644 --- a/examples/thumbnails/Cargo.toml +++ b/examples/thumbnails/Cargo.toml @@ -4,5 +4,5 @@ version = "0.1.0" authors = ["Your Name "] [dependencies] -quicli = "0.2" +quicli = "0.3" image = "0.18" diff --git a/examples/verbosity/Cargo.toml b/examples/verbosity/Cargo.toml index ec87591..4327b14 100644 --- a/examples/verbosity/Cargo.toml +++ b/examples/verbosity/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" authors = ["Christopher Durham "] [dependencies] -quicli = "0.2" +quicli = "0.3" [dev-dependencies] assert_cli = "0.5.4"