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

feat: add id filter to crates query #74

Merged
merged 1 commit into from
Oct 16, 2024
Merged

feat: add id filter to crates query #74

merged 1 commit into from
Oct 16, 2024

Conversation

joshka
Copy link
Contributor

@joshka joshka commented Oct 15, 2024

Gets information about multiple crates in a single call

let query = CratesQuery {
    ids: Some(vec!["serde", "tokio"]),
    ..Default::default()
};

Gets information about multiple crates in a single call

```rust
let query = CratesQuery {
    ids: Some(vec!["serde", "tokio"]),
    ..Default::default()
};
```
Copy link
Owner

@theduke theduke left a comment

Choose a reason for hiding this comment

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

Thanks!

Do you need a release relatively quickly?

@theduke theduke merged commit 9fbf1da into theduke:main Oct 16, 2024
2 checks passed
@joshka
Copy link
Contributor Author

joshka commented Oct 16, 2024

Not especially - I implemented this because I wanted to replace mini-crater's manual crates.io api calls with this lib.

If you're after some really effective github workflow templates for releasing easily (i.e. just hit merge on an automatically generated PR, check out https://github.com/joshka/github-workflows/)

Btw, We used crates-io-api in crates-tui if you haven't already seen it.

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