-
Notifications
You must be signed in to change notification settings - Fork 321
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
Update serde (and others) #159
Conversation
With #158 merged, I think we should no longer need the pinning. The reason I added the pinning originally was because some serdes would link to bad versions of syn, but with syn updated to be okay now this should be fine. |
Cool. Updated the PR with the changes that were recently accepted before Edit: It looks like this already came in through 54dcb1c. Should this be closed? |
And I was wrong, there is another issue here preventing us from removing the pinning and updating. I filed rust-lang/cargo#5304 to find a solution. |
@eqrion Is this issue still present? We currently ship serde-derive 1.0.70 in debian and the explicit dependency prevents us from uploading cbindgen. It passes both cargo check and cargo test after removing the pin and running cargo update, unless you are aware of any problems we would patch the Cargo.toml and then upload the 0.6.3 release. Thanks! |
I think this is still an issue. Does the binary run without crashing if you run it directly?
EDIT: |
That's odd, running the binary directly doesn't work (running it through cargo run did work):
It seems the cargo bug that was linked here was closed in favor of rust-lang/cargo#2589 which seems unrelated. The relevant issue is probably rust-lang/rust#45601 with a work-in-progress solution in rust-lang/rust#49219. I'm a bit confused that this only applies to cbindgen since a lot of programs depend on a recent serde_derive, including my own. |
I thought we had an issue filed with exactly what is going on here, but we don't exactly. I'll summarize it here for reference and file an issue later.
Unfortunately But not all That's what rust-lang/cargo#2589 is about, and why it's still relevant. If that's fixed we could use the feature flag and update I don't think we could easily drop the This has been a major pain, and I'd love to find an answer to it. |
I'm going to close this as there's no good path forward. Once #203 is resolved we can update. |
Saw the comment about #147 with respect to serde_derive but just tried building with stable (1.25) and everything seems to work correctly. Is there another reason this can't go in? We use a newer version of serde_derive in our application and pinning this version is causing issues.