Skip to content

Replace unmaintained paste crate with pastey - #58

Merged
cmpute merged 1 commit into
cmpute:masterfrom
remi-delmas-3000:replace-paste-with-pastey
May 31, 2026
Merged

Replace unmaintained paste crate with pastey#58
cmpute merged 1 commit into
cmpute:masterfrom
remi-delmas-3000:replace-paste-with-pastey

Conversation

@remi-delmas-3000

Copy link
Copy Markdown

Summary

Replace the paste dependency with pastey in dashu-macros to address RUSTSEC-2024-0436.

The paste crate is no longer maintained and its repository has been archived. pastey is a maintained fork and drop-in replacement.

Changes

  • macros/Cargo.toml: paste = "1.0"pastey = "0.2"
  • macros/src/parse/common.rs: use paste::pasteuse pastey::paste

Testing

All dashu-macros tests pass (unit, integration, and doc-tests).

`paste` is no longer maintained (RUSTSEC-2024-0436).
`pastey` is a drop-in replacement fork.

- macros/Cargo.toml: paste 1.0 -> pastey 0.2
- macros/src/parse/common.rs: use pastey::paste
@cmpute
cmpute force-pushed the replace-paste-with-pastey branch from a2ed97e to 7f2d467 Compare May 31, 2026 03:36
@cmpute
cmpute merged commit 083d732 into cmpute:master May 31, 2026
@cmpute

cmpute commented May 31, 2026

Copy link
Copy Markdown
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants