Skip to content

Tweak new extensions module - #456

Merged
djc merged 5 commits into
mainfrom
ext-tweaks
Sep 21, 2026
Merged

djc merged 5 commits into
mainfrom
ext-tweaks

Conversation

@djc

@djc djc commented Sep 21, 2026

Copy link
Copy Markdown
Member

Some followup from

For some of these, it feels like the from_params() pattern is a little overwrought? Like, if there's only one params field, can't we do something simpler? Or does some of the rework in

depend on the uniformity here?

@djc
djc requested review from cpu, ctz and est31 September 21, 2026 11:38
Comment thread rcgen/src/crl.rs Outdated
@djc djc changed the title Ext tweaks Tweak new extensions module Sep 21, 2026

@cpu cpu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

For some of these, it feels like the from_params() pattern is a little overwrought? Like, if there's only one params field, can't we do something simpler? Or does some of the rework in 454 depend on the uniformity here?

I don't think 454 necessarily depends on the uniformity, I just thought it was a nice pattern for keeping things consistent & easy to review. I'm open to changing on a case-by-case basis if you prefer an alternative.

@djc
djc enabled auto-merge September 21, 2026 13:08
@djc
djc added this pull request to the merge queue Sep 21, 2026
Merged via the queue into main with commit 1d4caf7 Sep 21, 2026
17 checks passed
@djc
djc deleted the ext-tweaks branch September 21, 2026 13:45
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