Skip to content
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

Pin deps #73

Merged
merged 1 commit into from
Apr 7, 2024
Merged

Pin deps #73

merged 1 commit into from
Apr 7, 2024

Conversation

mumbleskates
Copy link
Contributor

(This PR is dependent upon #72. Only the last commit in this PR does the thing.)

This does not change the version of any of the dependencies as they would be resolved in a fresh repo now. it does avoid newly published versions of upstream crates breaking things, like changing the generated files in prost-build or updating performance characteristics without changing the api.

Just as importantly, this actually causes the contents of Cargo.toml to accurately reflect the versions of the dependencies that are resolved, which shows some some pretty significant drift in the version numbers in a lot of these cases.

Probably the best way to check for outdated dependencies here is cargo oudated --depth 1, with "cargo-outdated" installed. Performing that task before updating the benchmarks seems like a reasonable addition to the workflow and can make tracking the provenance of these performance numbers a lot easier.

Of course the goal here is to make maintaining and updating the repo and tracking what's going on with it easier, and if you as the maintainer don't think it serves that purpose then 🤷‍♀️ 🚮 😄. I just reckon this seems like a probable improvement.

@djkoloski djkoloski merged commit 2a526bc into djkoloski:master Apr 7, 2024
1 check passed
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