Skip to content

Update dependencies part 1#38

Closed
XSpielinbox wants to merge 3 commits intocackle-rs:mainfrom
XSpielinbox:update-dependencies
Closed

Update dependencies part 1#38
XSpielinbox wants to merge 3 commits intocackle-rs:mainfrom
XSpielinbox:update-dependencies

Conversation

@XSpielinbox
Copy link
Copy Markdown
Contributor

@XSpielinbox XSpielinbox commented Apr 21, 2026

Partially addresses #35.

I have partially reviewed the changed dependencies, but I don't know whether the code is actually safe for most of the usages.

This PR builds on #43 , so should be merged afterwards.

Comment thread src/proxy/subprocess.rs Outdated
Comment thread Cargo.toml
serde_json = "1.0.95"
cargo_metadata = "0.18.0"
object = "0.32.0"
anyhow = "1.0.102"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that bumping these versions in Cargo.toml doesn't really do anything other than increase the minimum version of the package that cargo will consider. i.e. running cargo update to update Cargo.lock will have much the same effect. For a library crate, it's often a good idea to keep the minimum versions of crates as low as possible to give users of the library more choice of versions. Given that this is a binary crate, it doesn't matter, so it's fine if you want to bump these versions.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, that is indeed correct. As cargo update only updates Cargo.lock, this was a misunderstanding on my side.
I prefer to have up-to-date versions, but I am open for changes. This was just a proposal.
I would have planed to also update the other dependencies (which requires code changes) in a second step before trying to make changes to the code functionality to ease future migrations and potentially be able to benefit of the improvements of newer versions already.

Comment thread Cargo.toml
@XSpielinbox XSpielinbox marked this pull request as ready for review April 28, 2026 18:23
@XSpielinbox
Copy link
Copy Markdown
Contributor Author

XSpielinbox commented Apr 28, 2026

All tests are passing on Rust 1.94.1 with the changes in #43. Shall I leave it as separate PRs or combine everything in one?

Comment thread tests/integration_test.rs Outdated
@davidlattimore
Copy link
Copy Markdown
Collaborator

I've added support for V0 mangling. I also fixed some clippy warnings that had accumulated over recent rust releases. #44. Hopefully those changes make it easier to get your changes in.

@XSpielinbox XSpielinbox force-pushed the update-dependencies branch from 4882996 to 50c1cc0 Compare April 29, 2026 16:37
@XSpielinbox XSpielinbox changed the title Update dependencies Update dependencies part 1 Apr 29, 2026
@XSpielinbox XSpielinbox force-pushed the update-dependencies branch from 50c1cc0 to 8c1197c Compare April 29, 2026 21:32
@XSpielinbox
Copy link
Copy Markdown
Contributor Author

Closing this as already merged as part of #40.

@XSpielinbox XSpielinbox closed this May 1, 2026
@XSpielinbox XSpielinbox deleted the update-dependencies branch May 1, 2026 15:44
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

Successfully merging this pull request may close these issues.

2 participants