Skip to content
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

feat: Allow passing in local and remote socket addresses #16

Merged
merged 24 commits into from
Sep 5, 2024
Merged

Conversation

larseggert
Copy link
Collaborator

@martinthomson, is this what you had in mind?

Fixes #15

@codecov-commenter
Copy link

codecov-commenter commented Sep 3, 2024

Codecov Report

Attention: Patch coverage is 97.39130% with 3 lines in your changes missing coverage. Please review.

Project coverage is 93.30%. Comparing base (3ee7d47) to head (3e7a339).
Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
src/lib.rs 97.39% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #16      +/-   ##
==========================================
+ Coverage   93.24%   93.30%   +0.06%     
==========================================
  Files           1        1              
  Lines         222      269      +47     
==========================================
+ Hits          207      251      +44     
- Misses         15       18       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@martinthomson
Copy link
Member

Note: This won't be backward-compatible. If you want source compatibility, you'll have to implement From<SocketAddr> and have that convert into Remote. I don't know if that is sufficiently obvious though.

src/lib.rs Outdated Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
larseggert and others added 4 commits September 4, 2024 09:02
Co-authored-by: Martin Thomson <mt@lowentropy.net>
Co-authored-by: Martin Thomson <mt@lowentropy.net>
src/lib.rs Outdated Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
@larseggert larseggert marked this pull request as ready for review September 4, 2024 06:22
src/lib.rs Outdated Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
@larseggert larseggert added this pull request to the merge queue Sep 5, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 5, 2024
@larseggert larseggert added this pull request to the merge queue Sep 5, 2024
@larseggert larseggert removed this pull request from the merge queue due to a manual request Sep 5, 2024
@larseggert
Copy link
Collaborator Author

@mxinden looks like the semver check works :-)

@larseggert larseggert merged commit 8af1e02 into main Sep 5, 2024
17 checks passed
@larseggert larseggert deleted the feat-15 branch September 5, 2024 08:27
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.

Local interface/ip
5 participants