Remove paste dependency#222
Remove paste dependency#222jamesmunns merged 3 commits intojamesmunns:mainfrom Low-Noise-Factory:main
paste dependency#222Conversation
This is to deal with security warnings related to paste now being "unmaintained".
✅ Deploy Preview for cute-starship-2d9c9b canceled.
|
|
Thank you for the heads up and the PR @Gerharddc, although it is somewhat disappointing to me to switch from a 1.0 (but unmaintained) crate from dtolnay (a well known author), to a 0.1 dep from someone I don't know. I feel like the risk of a vuln being found in our simple use of Honestly, since it is only used for 5 invocations, I'd rather just manually copy and paste the impls and remove paste/with_builtin_macros entirely, if removing paste is important to folks. |
|
@jamesmunns understood. I'm not crazy about the idea of copy and pasting such large/complex-ish blocks of code 5 times for each of the 5 flavors though. To me that would look a bit too ugly and be harder to maintain. Perhaps a middle ground could be to modify the
would become something like What do you think about that solution? |
|
That works for me too! |
This commit removes the need for the with_builtin_macros crate by passing idents into the impl_flavor macro.
paste dependency
|
Ok, I have now implemented the proposed change and it seems to work from what I can tell. |
|
@Gerharddc minor formatting nit in CI: |
|
@jamesmunns thanks! seems I missed it locally because I had a slightly outdated clippy |
cargo-semver-checks flags this as a semver compat issue.
This is to deal with security warnings related to paste now being "unmaintained". These warnings affect everyone using automated security scanners and the "crc" feature.
Please see https://rustsec.org/advisories/RUSTSEC-2024-0436.html, rustsec/advisory-db#2203 and rustsec/advisory-db#2215 for more details.