Skip to content

refactor(iroh)!: make iroh::tls private #3018

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 4 commits into from
Dec 10, 2024
Merged

Conversation

dignifiedquire
Copy link
Contributor

@dignifiedquire dignifiedquire commented Dec 6, 2024

Description

  • makes iroh::tls private
  • match quinns tls setup for benchmarking

Breaking Changes

  • iroh::tls is removed from the public API

Notes & open questions

The goal is to reduce the API surface of iroh, to what is really needed. I couldn't find any critical usage of this in our dependencies.

Change checklist

  • Self-review.
  • Documentation updates following the style guide, if relevant.
  • Tests if relevant.
  • All breaking changes documented.

- makes `iroh::tls` private
- match quinns tls setup for benchmarking
@dignifiedquire dignifiedquire changed the title refactor: make iroh::tls private refactor(iroh)!: make iroh::tls private Dec 6, 2024
Copy link

github-actions bot commented Dec 6, 2024

Documentation for this PR has been generated and is available at: https://n0-computer.github.io/iroh/pr/3018/docs/iroh/

Last updated: 2024-12-10T11:25:40Z

Copy link

github-actions bot commented Dec 6, 2024

Netsim report & logs for this PR have been generated and is available at: LOGS
This report will remain available for 3 days.

Last updated for commit: 5462e15

Copy link
Contributor

@rklaehn rklaehn left a comment

Choose a reason for hiding this comment

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

The only non-bench change is making tls private. I took a quick look at the bench changes and found nothing obviously wrong.

@@ -189,7 +189,7 @@ jobs:
# uses: obi1kenobi/cargo-semver-checks-action@v2
uses: n0-computer/cargo-semver-checks-action@feat-baseline
with:
package: iroh, iroh-base, iroh-dns-server, iroh-net-bench, iroh-relay, iroh-net-report
package: iroh, iroh-base, iroh-dns-server, iroh-bench, iroh-relay, iroh-net-report
Copy link
Contributor

Choose a reason for hiding this comment

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

so iroh-net-report does not get renamed to iroh-report for now?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

don't know if we want to do that, but that's seperate from this PR

@dignifiedquire dignifiedquire added this pull request to the merge queue Dec 9, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 9, 2024
@dignifiedquire dignifiedquire added this to the v0.30.0 milestone Dec 9, 2024
@dignifiedquire dignifiedquire added this pull request to the merge queue Dec 10, 2024
Merged via the queue into main with commit 0fe7e8b Dec 10, 2024
25 of 26 checks passed
@Arqu Arqu deleted the refactor-private-tls branch December 11, 2024 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants