Skip to content

Commit b18847b

Browse files
committed
Correct documented MSRV and add to Cargo.toml
1 parent bc912a4 commit b18847b

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ All notable changes to this project will be documented in this file.
33

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

6-
## [1.0.0] - 2023-06-30
6+
## [Unreleased]
7+
### Fixed
8+
- Correct the minimum supported Rust version to match Rust 2021 ([#13](https://github.com/MitMaro/captur/pull/13))
9+
10+
## [1.0.0] - 2024-06-30
711

812
### Added
913
- Defined minimum supported Rust version ([#9](https://github.com/MitMaro/captur/pull/9))

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ authors = ["Tim Oram <dev@mitmaro.ca>"]
55
description = "Macro to capture whole structs from disjoint fields in a closure."
66
repository = "https://github.com/MitMaro/captur"
77
documentation = "https://docs.rs/captur/"
8-
keywords = [ "macro", "capture", "struct" ]
8+
keywords = ["macro", "capture", "struct"]
99
categories = ["rust-patterns"]
1010
readme = "README.md"
1111
license = "ISC"
@@ -17,6 +17,7 @@ include = [
1717
"/README.md"
1818
]
1919
edition = "2021"
20+
rust-version = "1.56.0"
2021

2122
[lib]
2223
name = "captur"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ fn send_event_and_action(action: &Action, event: Event) {
4141

4242
# Supported Rust Versions
4343

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

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

0 commit comments

Comments
 (0)