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

Replace get_if_addrs with if-addrs #1788

Merged
merged 2 commits into from
Oct 9, 2020
Merged

Replace get_if_addrs with if-addrs #1788

merged 2 commits into from
Oct 9, 2020

Conversation

koushiro
Copy link
Contributor

@koushiro koushiro commented Oct 8, 2020

Signed-off-by: koushiro koushiro.cqx@gmail.com

The crate get_if_addrs is no longer maintained by its authors.
I think the if-addrs (forked from get_if_addrs) is a good alternative.

If we find a better library written in pure rust later, we can use it instead of if-addrs (see #1489)

@koushiro
Copy link
Contributor Author

koushiro commented Oct 8, 2020

@romanb @mxinden PTAL

Copy link
Member

@mxinden mxinden left a comment

Choose a reason for hiding this comment

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

Thanks @koushiro!

@mxinden
Copy link
Member

mxinden commented Oct 9, 2020

@koushiro can you bump the version in transports/tcp/Cargo.toml to v0.22.1 as done in the CHANGELOG.md?

Signed-off-by: koushiro <koushiro.cqx@gmail.com>
Signed-off-by: koushiro <koushiro.cqx@gmail.com>
@koushiro
Copy link
Contributor Author

koushiro commented Oct 9, 2020

@mxinden Done

@mxinden mxinden merged commit b74285a into libp2p:master Oct 9, 2020
@koushiro koushiro deleted the koushiro/replace-get_if_addrs branch October 9, 2020 12:19
@messense
Copy link

messense commented Oct 28, 2020

if-addrs crate only uses C code to support old Android version.

https://github.com/messense/if-addrs/blob/master/Cargo.toml#L17

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.

None yet

4 participants