Skip to content

Ohttp msrv bump 1.85.0 - #9

Merged
benalleng merged 2 commits into
payjoin:mainfrom
benalleng:ohttp-msrv-bump-1.85.0
Sep 23, 2026
Merged

benalleng merged 2 commits into
payjoin:mainfrom
benalleng:ohttp-msrv-bump-1.85.0

Conversation

@benalleng

@benalleng benalleng commented Sep 10, 2026 •

Copy link
Copy Markdown
Collaborator

This updates the msrv to 1.85.0 and also uses more up-to-date cargo toml features to better handle msrv pinning within the repo.

Closes #6

Blocked by #8

@benalleng
benalleng force-pushed the ohttp-msrv-bump-1.85.0 branch from 7902c81 to 84a89d6 Compare September 10, 2026 15:47
@benalleng
benalleng force-pushed the ohttp-msrv-bump-1.85.0 branch 2 times, most recently from 92b2606 to fc10074 Compare September 22, 2026 14:54
@benalleng
benalleng marked this pull request as ready for review September 22, 2026 14:58
@benalleng
benalleng force-pushed the ohttp-msrv-bump-1.85.0 branch 2 times, most recently from 14a25db to 225895a Compare September 22, 2026 15:03
@benalleng
benalleng marked this pull request as draft September 22, 2026 15:12
@benalleng
benalleng force-pushed the ohttp-msrv-bump-1.85.0 branch 2 times, most recently from 6eb63a7 to d019b4b Compare September 22, 2026 15:23
@benalleng
benalleng marked this pull request as ready for review September 22, 2026 15:23
@benalleng
benalleng requested a review from DanGould September 22, 2026 15:23
@benalleng
benalleng force-pushed the ohttp-msrv-bump-1.85.0 branch 2 times, most recently from 73d3290 to 14e1b59 Compare September 22, 2026 15:41
By updating the editions to 2024 it allows us to utilize the more
up-to-date cargo resolver features to keep msrv in check within the toml
configuration itself.

This change does mandate that we update the msrv to at least 1.84.0 but
with rust-payjoin and the main payjoin crate already being at 1.85.0 it
seems appropriate to do the same here.

rustfmt takes its style edition from the crate edition, so the 2024
edition also brings the 2024 formatting rules, mostly the new import
ordering. The reformat lands in this commit because the tree only passes
cargo fmt --check once the edition and formatting change together.
with the latest update to our msrv I think it is appropriate to ensure
at least at a baseline that the library passes at our msrv.
@DanGould
DanGould force-pushed the ohttp-msrv-bump-1.85.0 branch from 14e1b59 to aa6b974 Compare September 23, 2026 08:31
@DanGould

DanGould commented Sep 23, 2026 •

Copy link
Copy Markdown
Member

Force pushed because rustfmt takes its style edition from the crate edition so those need to land together if CI is to pass on every commit, which is our aspirational convention elsewhere.

Because I'm the last to push, I'm seeking your approval @benalleng

@benalleng benalleng left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

ACK aa6b974

squashing the fmt commit seems sane enough

@benalleng
benalleng merged commit 59f88a6 into payjoin:main Sep 23, 2026
2 checks passed
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.

The MSRV 1.85 CI check cannot resolve: transitive icu_* now require rustc 1.88

2 participants