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

Modernize the repository #9

Merged
merged 4 commits into from
Oct 10, 2023

Conversation

Zarthus
Copy link
Contributor

@Zarthus Zarthus commented Oct 4, 2023

Essentially:

  • update dependencies & make them compile

    • all dependencies are updated to the latest known version
      • this fixes many noted security vulnerabilities in the dependencies
      • 2 critical, 3 high, 9 moderate, 1 low
    • reqwest had to enable the blocking feature
      • let client = reqwest::blocking::Client::new();
  • rust 2021 edition

    • replace try! macro with ? operator
  • bump version to 0.4.0

I also accidentally ran cargo fmt on src/http.rs, sorry about that.
The meat is let client = reqwest::blocking::Client::new();

All tests pass except for these three integration tests - but they also fail on the current master:

failures:
    tests::section_content
    tests::sections
    tests::sections2

@seppo0010 seppo0010 merged commit 676b88f into seppo0010:master Oct 10, 2023
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.

None yet

2 participants