-
-
Notifications
You must be signed in to change notification settings - Fork 436
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
serde_derive brings binary blob and breaks builds #1333
Comments
I support pinning, but current |
Can we add a origin branch
I have a PR ready to go to it as well - I will send another for |
I have a PR up against I will send another if someone creates the Also looks like serde is only going for opt-out blob approach regrettably.. |
Instead of jumping on the current hot potato, I suggest we hold off on taking any action. It won't affect users anyway since we don't plan on making any releases soon. Edit: sorry for the knee-jerk reaction. I saw that this already blew up on Reddit. But pinning old versions of Serde in libraries does not appear a good solution:
My suggestions:
|
Can't crates depending on an RNG and using the |
This has been resolved in upstream 🎉 Also see time: time-rs/time#614 |
serde_derive
has chosen interesting approachI've sent PR to make the binary blob opt-in approach so the top-level binary chooses the desired build / trust model instead
This breaks Nix builds etc so I would recommend restricting the SemVer scope on serde_derive for dev-dep and serde for dep
It was labeled as "Experimental" to embed the binary blob but it went straight to prod :(
The above should also restrict the serde_derive -
time
andrust-analyzer
have already restricted the SemVer range otherwiseEDIT: fyi Yeah looks like serde has chosen the opt-out path only so the only way to not get the blobs is to restrict.
The text was updated successfully, but these errors were encountered: