From 5536361bcda29887ed86bb68e43d0b603cbc423f Mon Sep 17 00:00:00 2001 From: Martin Geisler Date: Sat, 23 Sep 2017 12:30:56 +0200 Subject: [PATCH] docs: sync README version numbers with crate version --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6a42faee..42eecf66 100644 --- a/README.md +++ b/README.md @@ -472,7 +472,7 @@ For full usage, add `clap` as a dependency in your `Cargo.toml` () to use from c ```toml [dependencies] -clap = "~2.19.0" +clap = "~2.26" ``` (**note**: If you are concerned with supporting a minimum version of Rust that is *older* than the current stable Rust minus 2 stable releases, it's recommended to use the `~major.minor.patch` style versions in your `Cargo.toml` which will only update the patch version automatically. For more information see the [Compatibility Policy](#compatibility-policy)) @@ -495,7 +495,7 @@ To disable these, add this to your `Cargo.toml`: ```toml [dependencies.clap] -version = "2.19" +version = "2.26" default-features = false ``` @@ -503,7 +503,7 @@ You can also selectively enable only the features you'd like to include, by addi ```toml [dependencies.clap] -version = "2.19" +version = "2.26" default-features = false # Cherry-pick the features you'd like to use @@ -629,7 +629,7 @@ In order to keep from being surprised of breaking changes, it is **highly** reco ```toml [dependencies] -clap = "~2.19.0" +clap = "~2.26" ``` This will cause *only* the patch version to be updated upon a `cargo update` call, and therefore cannot break due to new features, or bumped minimum versions of Rust.