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

chore: update Rust to 1.80.1 #4972

Merged
merged 19 commits into from
Aug 12, 2024
Merged

chore: update Rust to 1.80.1 #4972

merged 19 commits into from
Aug 12, 2024

Conversation

aqrln
Copy link
Member

@aqrln aqrln commented Aug 6, 2024

  • Update nix flake
  • Update Rust to 1.80.1
  • Fix clippy::derive_ord_xor_partial_ord
  • Fix clippy::needless_borrows_for_generic_args
  • Update time dependency to fix compilation error
  • Fix auto-fixable clippy issues
  • Fix clippy::doc_lazy_continuation
  • Remove cfg for non-existent bigdecimal feature and thus enable an unintentionally disabled test
  • Fix clippy::legacy_numeric_constants
  • Remove dead code in introspection test API
  • Suppress dead code warning in MigrationRecord

@aqrln aqrln requested a review from a team as a code owner August 6, 2024 21:34
@aqrln aqrln requested review from jkomyno and removed request for a team August 6, 2024 21:34
@aqrln aqrln added this to the 5.19.0 milestone Aug 6, 2024
Copy link
Contributor

github-actions bot commented Aug 6, 2024

WASM Query Engine file Size

Engine This PR Base branch Diff
Postgres 2.061MiB 2.061MiB -502.000B
Postgres (gzip) 823.020KiB 822.645KiB 384.000B
Mysql 2.032MiB 2.030MiB 2.991KiB
Mysql (gzip) 811.566KiB 809.625KiB 1.942KiB
Sqlite 1.924MiB 1.926MiB -1.974KiB
Sqlite (gzip) 769.110KiB 769.289KiB -183.000B

Copy link
Contributor

@jkomyno jkomyno left a comment

Choose a reason for hiding this comment

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

Thanks @aqrln!

@jkomyno
Copy link
Contributor

jkomyno commented Aug 7, 2024

Clippy is still failing due to unused new methods. Can you please fix it, and then merge? Thanks!

@aqrln
Copy link
Member Author

aqrln commented Aug 7, 2024

@jkomyno yeah I saw that, I'll be able to take a look tonight

Copy link

codspeed-hq bot commented Aug 9, 2024

CodSpeed Performance Report

Merging #4972 will not alter performance

Comparing update-rust (fed374d) with main (e1242e1)

Summary

✅ 11 untouched benchmarks

@@ -142,9 +142,9 @@ pub fn list_migrations(database_filename: &Path) -> Result<Vec<MigrationRecord>>
let failed_at: Option<Timestamp> = row.get(4).unwrap();

entries.push(MigrationRecord {
id,
_id: id,
Copy link
Member Author

@aqrln aqrln Aug 9, 2024

Choose a reason for hiding this comment

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

Left these two for now to be safe in case they were intentionally left for future but they are currently unused and can be removed from both the struct and the SQL query.

@jkomyno jkomyno changed the title chore: update Rust to 1.80 chore: update Rust to 1.80.1 Aug 12, 2024
@jkomyno jkomyno merged commit d33dcc5 into main Aug 12, 2024
369 checks passed
@jkomyno jkomyno deleted the update-rust branch August 12, 2024 13:17
@RatCornu RatCornu mentioned this pull request Aug 26, 2024
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