From 2dc9e2c13f5d12d0a6443c51c192485f49357875 Mon Sep 17 00:00:00 2001 From: David Aguilar Date: Mon, 25 Mar 2024 22:25:46 -0700 Subject: [PATCH] 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. --- saphyr/README.md | 2 +- saphyr/documents/2024-03-15-FirstRelease.md | 2 +- saphyr/src/lib.rs | 2 +- saphyr/tools/gen_large_yaml/Cargo.toml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/saphyr/README.md b/saphyr/README.md index a471b28..d9f12ad 100644 --- a/saphyr/README.md +++ b/saphyr/README.md @@ -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: diff --git a/saphyr/documents/2024-03-15-FirstRelease.md b/saphyr/documents/2024-03-15-FirstRelease.md index 7205fce..41aa642 100644 --- a/saphyr/documents/2024-03-15-FirstRelease.md +++ b/saphyr/documents/2024-03-15-FirstRelease.md @@ -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: diff --git a/saphyr/src/lib.rs b/saphyr/src/lib.rs index 9ca9a45..5fc106b 100644 --- a/saphyr/src/lib.rs +++ b/saphyr/src/lib.rs @@ -11,7 +11,7 @@ //! //! ```toml //! [dependencies] -//! yaml-rust2 = "0.7.0" +//! yaml-rust2 = "0.8.0" //! ``` //! //! # Examples diff --git a/saphyr/tools/gen_large_yaml/Cargo.toml b/saphyr/tools/gen_large_yaml/Cargo.toml index a70e779..d57bdea 100644 --- a/saphyr/tools/gen_large_yaml/Cargo.toml +++ b/saphyr/tools/gen_large_yaml/Cargo.toml @@ -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"