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

Set commit #179

Merged
merged 4 commits into from
Dec 11, 2024
Merged

Set commit #179

merged 4 commits into from
Dec 11, 2024

Conversation

Eh2406
Copy link
Contributor

@Eh2406 Eh2406 commented Dec 10, 2024

A minimal API to solve my needs for #178.

Is this roughly what you had in mind? How would you like it tested? How would you like to see error handling dealt with?

Eh2406 and others added 4 commits December 9, 2024 22:26
* use latest `gix` API
* adjust memory expectations - apparently the average crate now uses more memory.
* add minimal test
Copy link
Collaborator

@Byron Byron left a comment

Choose a reason for hiding this comment

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

Thanks for contributing, great work!

With an upgrade to the latest gix version the API became more convenient as well, and I could easily add error-handling, too.

I took a look at testing and added a minimal test, better than nothing, despite finding a 'use known hash and check that some crates will disappear' approach better, but it wasn't in the cards in terms of complexity when facing the 'rolling' history of the crates index.

I will create a new release shortly.

@Byron Byron merged commit 42e2d22 into frewsxcv:master Dec 11, 2024
2 checks passed
@Byron
Copy link
Collaborator

Byron commented Dec 11, 2024

Unfortunately, I completely forgot to properly document the changes from your commits, but here we go: https://github.com/frewsxcv/rust-crates-index/releases/tag/v3.4.0

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