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

Bump no-std-net dependency to 0.6, MSRV to 1.53 #76

Merged

Conversation

chrysn
Copy link
Contributor

@chrysn chrysn commented Oct 1, 2022

The no-std-net version currently used (0.5) failed to parse SocketAddr strings "[fe80::1]%2", which works correctly in the 0.6 version.

Incrementing the version is this easy change (nothing inside current embedded-nal appears to depend on the precise version), but it is an API breaking change in the crates here because types are re-exported and their API changed. (For example, Ipv6Addr::unspecified() became Ipv6Addr::UNSPECIFIED). Given that these crates have not yet had non-breaking updates, that's probably not a big deal.

@chrysn
Copy link
Contributor Author

chrysn commented Oct 1, 2022

CI told me that this necessitates an MSRV increase to 1.53, which is now enacted in a second commit.

@chrysn chrysn changed the title Bump no-std-net dependency to 0.6 Bump no-std-net dependency to 0.6, MSRV to 1.53 Oct 1, 2022
Copy link
Member

@eldruin eldruin left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks!

@eldruin eldruin merged commit c33ae09 into rust-embedded-community:master Oct 1, 2022
@chrysn chrysn deleted the no-std-net-0.6 branch October 1, 2022 18:18
@chrysn
Copy link
Contributor Author

chrysn commented Oct 1, 2022

Thanks for the quick review, that allows me to rebase #73 and saves me workarounds.

@chrysn chrysn mentioned this pull request Oct 1, 2022
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