Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The crate paste is unmaintained #349

Closed
danielhjacobs opened this issue Mar 7, 2025 · 5 comments
Closed

The crate paste is unmaintained #349

danielhjacobs opened this issue Mar 7, 2025 · 5 comments

Comments

@danielhjacobs
Copy link

See https://rustsec.org/advisories/RUSTSEC-2024-0436

@ErichDonGubler
Copy link
Member

@danielhjacobs: This is interesting to know, but it doesn't seem actionable. The paste crate does its job well, and otherwise is not a liability. It's also significant that…as far as I know, there's not a real alternative to the paste crate out there, let alone a maintained one.

Did you have a solution in mind for this issue, or were you just forwarding this RustSec report?

@danielhjacobs
Copy link
Author

danielhjacobs commented Mar 8, 2025

Mainly forwarding the issue because we have a GitHub action that checks dependencies for advisories using https://github.com/EmbarkStudios/cargo-deny-action. We don't block anything using it but it's just a little annoying if it's always failing as it will need to be manually checked for new failure conditions every time it runs now.

@cwfitzgerald
Copy link
Member

For both wgpu and metal-rs we should add this advisory to the ignore list and move on. I trust dtolnay not to do something stupid with crate ownership.

@ErichDonGubler
Copy link
Member

@cwfitzgerald: I don't think we have a cargo-deny check in metal-rs that would enforce this in the same was as in wgpu. Said another way: I don't think there are any action items for the metal-rs repo specifically.

@danielhjacobs: You can add "[RUSTSEC-2024-0436](https://rustsec.org/advisories/RUSTSEC-2024-0436)" to your cargo-deny's advisories.ignore configuration to work around this issue for now. Once a clear solution emerges, we can re-open this issue and go from there.

@ErichDonGubler ErichDonGubler closed this as not planned Won't fix, can't repro, duplicate, stale Mar 11, 2025
@danielhjacobs
Copy link
Author

FWIW, per rustsec/advisory-db#2215, As11000K created https://github.com/AS1100K/pastey as a fork/drop-in replacement for paste.

dtolnay said "I don't plan to endorse a particular replacement, but it doesn't make a difference to me. For my own use cases I would use paste since it is 'finished' and does everything I need."

decathorpe offered to maintain paste itself in its current state if it were un-archived and transferred to him or commons-rs, but dtolnay did not reply to that.

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

No branches or pull requests

3 participants