diff --git a/CHANGELOG.md b/CHANGELOG.md index 6970436..0938083 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - [BREAKING] Increased base MSRV to 1.65. - [BREAKING] `duplicate!` and `duplicate_item` no longer allow using exclusively global substitutions. +- Edition increased to 2021. +- Replaced `proc-macro-error` dependency with `proc-macro2-diagnostics` for printing nice error messages and hints. See [#61](https://github.com/Emoun/duplicate/issues/61). +- Updated `heck` dependency to version 0.5. ## [1.0.0] - 2023-03-10 diff --git a/Cargo.toml b/Cargo.toml index 948d0c0..ae402b5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,9 @@ name = "duplicate" version = "0.0.0" authors = ["Emad Jacob Maroun "] -edition = "2018" +edition = "2021" +rust-version = "1.65" + license = "MIT OR Apache-2.0" description = "Provides macros for duplication of code with variable substitution." repository = "https://github.com/Emoun/duplicate" @@ -19,12 +21,12 @@ proc-macro = true [dependencies] proc-macro2-diagnostics = { version = "0.10", optional = true } proc-macro2 = { version = "1.0.85", optional = true } -heck = { version = "0.4.0", optional = true } +heck = { version = "0.5", optional = true } [dev-dependencies] duplicate_macrotest = "1.0.5" doc-comment = "0.3.3" -serde = "1.0.105, < 1.0.157" # Needed because macrotest's cargo.toml uses 1.0 however fails with < 1.0.105 and >= 1.0.157 (because it uses syn v2) +serde = "1.0.105" # Needed because macrotest's cargo.toml uses 1.0 however fails with < 1.0.105 regex = "1.6.0" rustversion = "1.0.7"