From 3f5216e847a2bc780a41dffc928de95bfaa807de Mon Sep 17 00:00:00 2001 From: Tim Oram Date: Sun, 30 Jun 2024 13:21:41 -0230 Subject: [PATCH] Bump to Rust 2021 Update the supported version of Rust to 2021, and make note of the supported Rust versions. --- .gitignore | 1 + Cargo.toml | 2 +- README.md | 6 ++++++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 299be50..6895399 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ coverage target +Cargo.lock diff --git a/Cargo.toml b/Cargo.toml index 70831e2..c3b7e92 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ include = [ "/LICENSE", "/README.md" ] -edition = "2018" +edition = "2021" [lib] name = "captur" diff --git a/README.md b/README.md index 159121d..ec34ac8 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,12 @@ 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. + +Dropping support for a Rust version will result in a major version bump, following [Semantic Versioning](https://semver.org/). + ## License Captur is released under the ISC license. See [LICENSE](LICENSE).