Skip to content

Commit

Permalink
Create Markdown variable so version only needs to be updated once
Browse files Browse the repository at this point in the history
  • Loading branch information
Pr0methean committed Apr 23, 2024
1 parent c9cb506 commit c2898ae
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{% assign version = "1.1.1" %}

zip
========

Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
--------
Expand Down

0 comments on commit c2898ae

Please sign in to comment.