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
We have a mixed notation for importing and using events and behaviors from sub-behavior crates:
For example, we import the Kademlia:
use libp2p::{ request_response::{ Behaviour as RequestResponse, Config as RequestResponseConfig, Event as RequestResponseEvent, }, };
where it would probably be cleaner to import as:
use libp2p::request_response;
and then use like this:
request_response::Event;
or
request_response::Behaviour;
etc
The text was updated successfully, but these errors were encountered:
libp2p
0.50.0
0.53.1
Unify namespacing in P2P codebase (#1597)
1965f9d
Closes #1556
MitchTurner
Successfully merging a pull request may close this issue.
We have a mixed notation for importing and using events and behaviors from sub-behavior crates:
For example, we import the Kademlia:
where it would probably be cleaner to import as:
and then use like this:
or
etc
The text was updated successfully, but these errors were encountered: