From c2898aeb011aed9d2a71576b9fbcb3c8a6dd6a98 Mon Sep 17 00:00:00 2001 From: Chris Hennick Date: Mon, 22 Apr 2024 17:27:02 -0700 Subject: [PATCH] Create Markdown variable so version only needs to be updated once --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 386eff6f..762fde49 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +{% assign version = "1.1.1" %} + zip ======== @@ -33,14 +35,14 @@ With all default features: ```toml [dependencies] -zip = "1.1.1" +zip = "{{version}}" ``` Without the default features: ```toml [dependencies] -zip = { version = "1.1.1", default-features = false } +zip = { version = "{{version}}", default-features = false } ``` The features available are: @@ -70,8 +72,7 @@ we will follow these guidelines: - We will always support the latest four minor Rust versions. This gives you a 6 month window to upgrade your compiler. -- Any change to the MSRV will be accompanied with a **minor** version bump - - While the crate is pre-1.0, this will be a change to the PATCH version. +- Any change to the MSRV will be accompanied with a **minor** version bump. Examples --------