-
Notifications
You must be signed in to change notification settings - Fork 82
Bump serde from 1.0.126 to 1.0.130 #156
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
Conversation
I went back to the notes I wrote after experimenting with dependabot configs. To summarize what's relevant here:
I'm sure my understanding remains incomplete. For example, oxidecomputer/omicron#285 was a PR to omicron that updated Cargo.lock and not any Cargo.toml files. Why would that ever happen? In that case, we had two crates within the workspace that depended on tokio-postgres "0.7" and Dependabot updated Cargo.lock from 0.7.2 to 0.7.3. Why didn't it update the Cargo.toml files too? You might guess that it's because there were two crates in the workspace that would be affected (although I'm not sure that's a good reason) -- but oxidecomputer/omicron#283 was a different PR that also updated a dep used in multiple crates, and in that one, it updated all the Cargo.toml files too, from expectorate 1.0.1 to 1.0.4. That wasn't strictly necessary, since these are implicitly semver caret dependencies. Does it depend on the precision of the version string? There's also #157 in this repo, where it also updated just Cargo.lock. That one also depended on only "0.14". Maybe this does depend on the precision of the version string? Anyway, what I think we really want for Dropshot is:
This would correspond to treating Dropshot like an app, but with versioning strategy "increase-if-necessary". It really seems like this should be possible, but I don't think it is. Dependabot obviously has the ability to implement increase-if-necessary for Cargo, since it does that for libraries. But I'm pretty sure I tried requesting this versioning strategy and it reported that it's not supported for Cargo. So I think our options with Dependabot are:
(2) is the only useful option and it's what we're currently doing so I'm going to go ahead and land this PR and other Dependabot PRs that update Cargo.toml unnecessarily. If the consumer constraints become a problem, we can either dig deeper into the Dependabot implementation to better understand the behavior and see if there are other options, try to get it fixed, or use some other automation for this. |
@dependabot squash and merge |
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.126 to 1.0.130. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](serde-rs/serde@v1.0.126...v1.0.130) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
17e912e
to
ccd6734
Compare
Bumps serde from 1.0.126 to 1.0.130.
Release notes
Sourced from serde's releases.
Commits
65e1a50
Release 1.0.13087d41b5
Merge pull request #2081 from dtolnay/accessunsized3f120fb
Enable unsized Map/SeqAccess types to use the impl for &mut2b92c80
Release 1.0.129c1c0ede
Merge pull request #2080 from dtolnay/packeddrop4a66c5f
Support packed remote struct without destructuring714c8a5
Add test of packed struct that cannot be destructureddc0c0dc
Merge pull request #2079 from dtolnay/packedremote54102ee
Avoid generating ref patterns for fields of packed remote struct14accf7
Add test of remote with a packed structDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot will merge this PR once CI passes on it, as requested by @davepacheco.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)