We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The p2p crate has deprecated ConnectionHandler::Error, and will be removing it soon.
p2p
ConnectionHandler::Error
See:
ConnectionHandlerEvent::Close
Instead of using #[allow(deprecated)], it would be better to use StreamUpgradeError<io::Error>.
#[allow(deprecated)]
StreamUpgradeError<io::Error>
No response
Output of `pnpm --version && cargo --version && rustc --version`: 8.10.2 cargo 1.73.0 (9c4383fb5 2023-08-26) rustc 1.73.0 (cc66ad468 2023-10-03)
OS: EndeavourOS (rolling release)
### Stack trace _No response_ ### Additional context _No response_
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
The
p2p
crate has deprecatedConnectionHandler::Error
, and will be removing it soon.See:
ConnectionHandler::Error
libp2p/rust-libp2p#3591ConnectionHandlerEvent::Close
libp2p/rust-libp2p#4714Instead of using
#[allow(deprecated)]
, it would be better to useStreamUpgradeError<io::Error>
.Reproduction
No response
Expected behavior
No response
Platform and versions
Output of `pnpm --version && cargo --version && rustc --version`: 8.10.2 cargo 1.73.0 (9c4383fb5 2023-08-26) rustc 1.73.0 (cc66ad468 2023-10-03)
OS: EndeavourOS (rolling release)
The text was updated successfully, but these errors were encountered: