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:
David Aguilar 2024-03-25 22:25:46 -07:00
parent b5c9eec454
commit 2dc9e2c13f
4 changed files with 4 additions and 4 deletions

View file

@ -17,7 +17,7 @@ Add the following to the Cargo.toml of your project:
```toml ```toml
[dependencies] [dependencies]
yaml-rust2 = "0.7" yaml-rust2 = "0.8"
``` ```
Use `yaml_rust2::YamlLoader` to load YAML documents and access them as `Yaml` objects: Use `yaml_rust2::YamlLoader` to load YAML documents and access them as `Yaml` objects:

View file

@ -96,7 +96,7 @@ Switching to `yaml-rust2` should be a very simple process. Change your `Cargo.to
```diff ```diff
-yaml-rust = "0.4.4" -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: As for your code, you have one of two solutions:

View file

@ -11,7 +11,7 @@
//! //!
//! ```toml //! ```toml
//! [dependencies] //! [dependencies]
//! yaml-rust2 = "0.7.0" //! yaml-rust2 = "0.8.0"
//! ``` //! ```
//! //!
//! # Examples //! # Examples

View file

@ -11,7 +11,7 @@ readme = "README.md"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
yaml-rust2 = { version = "0.7.0", path = "../../" } yaml-rust2 = { path = "../.." }
rand = { version = "0.8.5", features = [ "small_rng" ] } rand = { version = "0.8.5", features = [ "small_rng" ] }
lipsum = "0.9.0" lipsum = "0.9.0"