Skip to content

Comments

Update dependencies and bump to Rust 1.80#450

Merged
DJMcNab merged 6 commits intolinebender:mainfrom
DJMcNab:rust_1_80
Jul 26, 2024
Merged

Update dependencies and bump to Rust 1.80#450
DJMcNab merged 6 commits intolinebender:mainfrom
DJMcNab:rust_1_80

Conversation

@DJMcNab
Copy link
Member

@DJMcNab DJMcNab commented Jul 26, 2024

There is one "semi-false-positive" lint triggered, which I have fixed.
Otherwise, the required

cargo upgrade --ignore-rust-version
cargo update

Copy link
Member

@Philipp-M Philipp-M left a comment

Choose a reason for hiding this comment

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

LGTM, but I'd probably change the title, such that it also reflects the other package updates

Cargo.toml Outdated
Comment on lines 29 to 30
# Remove assigning_clones once it's allowed by default in stable Rust
# https://github.com/rust-lang/rust-clippy/pull/12779
Copy link
Member

Choose a reason for hiding this comment

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

Why all the comments (including below)?

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh seriously? I trusted cargo upgrade to actually do the right thing. That's incredibly annoying.

Copy link
Member

Choose a reason for hiding this comment

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

Ok, that's a weird, probably open an issue in cargo upstream then?

Copy link
Member Author

Choose a reason for hiding this comment

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

It's part of cargo-edit. I believe that the in-place toml editing doing stupid things with comments/ordering is known, although I can't find where it's tracked at the moment.

@DJMcNab DJMcNab changed the title Update to Rust 1.80 Update dependencies and bump to Rust 1.80. Jul 26, 2024
@DJMcNab DJMcNab changed the title Update dependencies and bump to Rust 1.80. Update dependencies and bump to Rust 1.80 Jul 26, 2024
@waywardmonkeys
Copy link
Contributor

Why bundle the update to Rust with the other? (Just asking.)

@DJMcNab
Copy link
Member Author

DJMcNab commented Jul 26, 2024

This is the policy we decided upon in linebender/rfcs#5

@DJMcNab DJMcNab enabled auto-merge July 26, 2024 13:00
@DJMcNab DJMcNab added this pull request to the merge queue Jul 26, 2024
Merged via the queue into linebender:main with commit d700762 Jul 26, 2024
@DJMcNab DJMcNab deleted the rust_1_80 branch July 26, 2024 13:09
@Philipp-M
Copy link
Member

Why bundle the update to Rust with the other? (Just asking.)

This is the policy we decided upon in linebender/rfcs#5

I believe he meant, why not separate PRs for package-updates and rust-version, but I think having all of this in one PR is good for me too, as those update changes seem to be largely uncontroversial/maintenance

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.

3 participants