Skip to content

Replace unmaintained paste crate with pastey#58

Open
remi-delmas-3000 wants to merge 1 commit intocmpute:masterfrom
remi-delmas-3000:replace-paste-with-pastey
Open

Replace unmaintained paste crate with pastey#58
remi-delmas-3000 wants to merge 1 commit intocmpute: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
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.

1 participant