chore: updates version sync in readme
@@ -418,7 +418,7 @@ To test out `clap`'s default auto-generated help/version follow these steps:
*
```toml
[dependencies]
-clap = "2"
+clap = "3.0.0-alpha1"
```
* Add the following to your `src/main.rs`
@@ -441,7 +441,7 @@ For full usage, add `clap` as a dependency in your `Cargo.toml` () to use from c
```toml
[dependencies]
-clap = "~3.0"
+clap = "~3.0.0-alpha1"
```
(**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))
@@ -464,7 +464,7 @@ To disable these, add this to your `Cargo.toml`:
```toml
[dependencies.clap]
-version = "3.0"
+version = "3.0.0-alpha1"
default-features = false
```
@@ -472,7 +472,7 @@ You can also selectively enable only the features you'd like to include, by addi
```toml
[dependencies.clap]
-version = "3.0"
+version = "3.0.0-alpha1"
default-features = false
# Cherry-pick the features you'd like to use
@@ -520,7 +520,7 @@ In order to keep from being surprised of breaking changes, it is **highly** reco
```toml
[dependencies]
-clap = "~3.0"
+clap = "~3.0.0-alpha1"
```
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.
@@ -537,11 +537,11 @@ Right now Cargo's version resolution is pretty naive, it's just a brute-force se
# In one Cargo.toml
[dependencies]
-clap = "~3.0.0"
+clap = "~3.0.0-alpha1"
# In another Cargo.toml
[dependencies]
-clap = "3.0"
+clap = "3.0.0-alpha1"
```
This is inherently an unresolvable crate graph in Cargo right now. Cargo requires there's only one major version of a crate, and being in the same workspace these two crates must share a version. This is impossible in this location, though, as these version constraints cannot be met.
