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

Reduce duplication, avoid warnings #102

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

tamird
Copy link

@tamird tamird commented Mar 15, 2025

  • Remove ExtractJsonMediaType::content_json
  • Remove useless condition
  • Reduce duplication
  • Use workspace resolver = "2"
  • dependabot: batch updates, reduce cadence

@jessfraz could you have a look please? Best reviewed commit-by-commit.

tamird added 6 commits March 15, 2025 18:56
Usage was removed in commit ddb56a8 ("fixes").
This check became obsolete in commit a8a30d5 ("further working
towards parsing github spec") with the removal of the
`self.content.len() != 1` check.
This avoids a compilation warning:

> warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
> note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
> note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
> note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
>     Blocking waiting for file lock on build directory
@augustuswm
Copy link
Contributor

Thanks for putting this together. I'll have a look at this week.

@tamird
Copy link
Author

tamird commented Mar 24, 2025

@augustuswm gentle ping.

@augustuswm
Copy link
Contributor

Apologies here! Time got away from me. I'm traveling and won't get to this until next week. But please do ping me again if I don't.

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