Skip to content

Inline oid module #238

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

Merged
merged 6 commits into from
Mar 10, 2024
Merged

Inline oid module #238

merged 6 commits into from
Mar 10, 2024

Conversation

djc
Copy link
Member

@djc djc commented Mar 8, 2024

Following up on some suggestions from #237 (comment).

@djc djc requested review from cpu and est31 March 8, 2024 12:17
rcgen/src/lib.rs Outdated
use crate::key_pair::PublicKeyData;
pub use crate::key_pair::{KeyPair, RemoteKeyPair};
use crate::oid::*;
mod csr;
Copy link
Member

Choose a reason for hiding this comment

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

I think it's nicer before the reorderings.

Copy link
Member Author

Choose a reason for hiding this comment

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

Which part do you prefer? Separating use from mod? The main confusing thing (and unexpected) for me was that the module declarations are like halfway through the lib.rs module.

Copy link
Member Author

Choose a reason for hiding this comment

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

Changed this so it only moves the mod declarations up and removes the unnecessary crate:: prefixes from the imports.

Copy link
Member

Choose a reason for hiding this comment

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

separating use from mod?

Yeah that separation is useful I think.

Copy link
Member Author

Choose a reason for hiding this comment

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

So do you want to approve this in its current state?

Copy link
Member

Choose a reason for hiding this comment

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

Done, approved.

Copy link
Member

@est31 est31 left a comment

Choose a reason for hiding this comment

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

Thanks!

@est31
Copy link
Member

est31 commented Mar 10, 2024

There is merge conflicts, needs a rebase before merging.

@djc djc enabled auto-merge March 10, 2024 19:06
@djc djc added this pull request to the merge queue Mar 10, 2024
Merged via the queue into main with commit f1f89ae Mar 10, 2024
@djc djc deleted the inline-oid branch March 10, 2024 19:25
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