Skip to content

Commit

Permalink
Correct documented MSRV and add to Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
MitMaro committed Jul 21, 2024
1 parent bc912a4 commit 1cd381a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).

## [1.0.0] - 2023-06-30
## [Unreleased]
### Fixed
- Correct the minimum supported Rust version to match Rust 2021 ([#13](https://github.com/MitMaro/captur/pull/13))

## [1.0.0] - 2024-06-30

### Added
- Defined minimum supported Rust version ([#9](https://github.com/MitMaro/captur/pull/9))
Expand Down
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = ["Tim Oram <[email protected]>"]
description = "Macro to capture whole structs from disjoint fields in a closure."
repository = "https://github.com/MitMaro/captur"
documentation = "https://docs.rs/captur/"
keywords = [ "macro", "capture", "struct" ]
keywords = ["macro", "capture", "struct"]
categories = ["rust-patterns"]
readme = "README.md"
license = "ISC"
Expand All @@ -17,6 +17,7 @@ include = [
"/README.md"
]
edition = "2021"
rust-version = "1.56.0"

[lib]
name = "captur"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ fn send_event_and_action(action: &Action, event: Event) {

# Supported Rust Versions

This project will support all Rust versions since 1.51 when Rust first supported Rust 2021.
This project will support Rust versions since 1.56.0, the first release of Rust 2021.

Dropping support for a Rust version will result in a major version bump, following [Semantic Versioning](https://semver.org/).

Expand Down

0 comments on commit 1cd381a

Please sign in to comment.