Skip to content

Commit

Permalink
Updated Cargo.toml and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Emoun committed Sep 12, 2024
1 parent f1c4301 commit 7891bc4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
12 changes: 7 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
name = "duplicate"
version = "0.0.0"
authors = ["Emad Jacob Maroun <[email protected]>"]
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"
Expand All @@ -19,19 +21,19 @@ 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"
duplicate_macrotest = "1.0.6"
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"

[features]
default = ["pretty_errors", "module_disambiguation"]
pretty_errors = ["dep:proc-macro2-diagnostics", "dep:proc-macro2"]
module_disambiguation = ["heck"]
module_disambiguation = ["dep:heck"]
fail-on-warnings = [] # Forces compilation to fail if any warnings are given. Used in CI.

[package.metadata.docs.rs]
Expand Down

0 comments on commit 7891bc4

Please sign in to comment.