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

Integer conversions should be checked #100

Open
tamird opened this issue Mar 24, 2020 · 2 comments
Open

Integer conversions should be checked #100

tamird opened this issue Mar 24, 2020 · 2 comments

Comments

@tamird
Copy link

tamird commented Mar 24, 2020

There are currently quite a few unchecked conversions in net2. These can be replace with Into and TryInto checked conversions.

@alexcrichton would you be open to such a change? It may require some API changes (though maybe not, if conversion errors are mapped to io::Error).

@alexcrichton
Copy link
Contributor

Sorry, I do not maintain this crate any more.

@tamird
Copy link
Author

tamird commented Mar 25, 2020

Is socket2 the suggested successor of this crate? Are you still maintaining socket2?

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

No branches or pull requests

2 participants