maint: version-up and minimize where we mention the version
Remove the version number from tools/gen_large_yaml so that we can avoid needing to update the version in two places.
This commit is contained in:
parent
f34c6869f1
commit
5c7e11ea3f
4 changed files with 4 additions and 4 deletions
|
@ -17,7 +17,7 @@ Add the following to the Cargo.toml of your project:
|
|||
|
||||
```toml
|
||||
[dependencies]
|
||||
yaml-rust2 = "0.7"
|
||||
yaml-rust2 = "0.8"
|
||||
```
|
||||
|
||||
Use `yaml_rust2::YamlLoader` to load YAML documents and access them as `Yaml` objects:
|
||||
|
|
|
@ -96,7 +96,7 @@ Switching to `yaml-rust2` should be a very simple process. Change your `Cargo.to
|
|||
|
||||
```diff
|
||||
-yaml-rust = "0.4.4"
|
||||
+yaml-rust2 = "0.6.0"
|
||||
+yaml-rust2 = "0.8.0"
|
||||
```
|
||||
|
||||
As for your code, you have one of two solutions:
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
//!
|
||||
//! ```toml
|
||||
//! [dependencies]
|
||||
//! yaml-rust2 = "0.7.0"
|
||||
//! yaml-rust2 = "0.8.0"
|
||||
//! ```
|
||||
//!
|
||||
//! # Examples
|
||||
|
|
|
@ -11,7 +11,7 @@ readme = "README.md"
|
|||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
yaml-rust2 = { version = "0.7.0", path = "../../" }
|
||||
yaml-rust2 = { path = "../.." }
|
||||
rand = { version = "0.8.5", features = [ "small_rng" ] }
|
||||
lipsum = "0.9.0"
|
||||
|
||||
|
|
Loading…
Reference in a new issue