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

Update to Rust 1.54.0 #14

Closed
wants to merge 13 commits into from
Closed

Conversation

madsmtm
Copy link
Contributor

@madsmtm madsmtm commented Aug 13, 2021

Builds upon #12 and #13, changes in this PR can be seen here.

Updates the implementation in this crate to match the one in the latest Rust 1.54.0 (from here). Also adds the tests from there.

Notable remaining differences include:

  • More const fn in this crate
  • ToSocketAddrs is not implemented for some (rather important) types that would require alloc and LookupHost
  • ToSocketAddrs::to_socket_addrs returns custom error type instead of std::io::Error
  • AddrParseError doesn't implement std::error::Error

@dunmatt
Copy link
Owner

dunmatt commented Nov 7, 2021

Merged manually due to not understanding how github's fix conflicts helper is supposed to be used.

@dunmatt dunmatt closed this Nov 7, 2021
@dunmatt
Copy link
Owner

dunmatt commented Nov 7, 2021

thanks again for your contributions! I just released them as v0.6.0 .

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