From 4bfc5917893a150a425607b7ee8a21ec7ce9269b Mon Sep 17 00:00:00 2001 From: Kevin Gimbel Date: Wed, 15 Nov 2023 09:41:17 +0100 Subject: [PATCH] Update rust edition (#19) * chore: update to Rust 2021 edition * chore: Prepare v4.0.0 --- CHANGELOG.md | 6 +++++- Cargo.toml | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2fbf9c3..b8c8e6d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## v4.0.0 + +- use Rust Edition 2021 (upgrade from 2018) + ## v3.3.0 - refactor `make_toc` function for easier third-party integration [#13](https://github.com/KevinGimbel/mktoc/issues/13) @@ -22,4 +26,4 @@ ## v3.0.0 - Implement JSON settings -- Add build for GitHub Binary releases \ No newline at end of file +- Add build for GitHub Binary releases diff --git a/Cargo.toml b/Cargo.toml index 055c3c5..5c18981 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,9 +2,9 @@ name = "mktoc" description = "Generate Table of Contents from Markdown files" license = "MIT" -version = "3.3.0" +version = "4.0.0" authors = ["Kevin Gimbel "] -edition = "2018" +edition = "2021" repository = "https://github.com/kevingimbel/mktoc" exclude = [".github", "assets", "helpers", "tests", ".gitignore", "Makefile"] rust-version = "1.64.0"