docs: sync README version numbers with crate version

This commit is contained in:
Martin Geisler 2017-09-23 12:30:56 +02:00
parent 6e948994a6
commit 5536361bcd

View file

@ -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.