-
Notifications
You must be signed in to change notification settings - Fork 996
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
Add helpers for easier Transports creation #777
Conversation
libp2p::build_development_transport(local_key); Why use this function name, seems casual. |
What do you mean by casual? |
if we have a API named build_development_transport, do we have a product version: build_product_transport? |
The production version would be |
I'm going to merge this. Let me know if that's not fine. |
OK. |
* Add helpers for easier Transports creation * Fix doctests
* upstream/master: More precise error passed to inject_dial_upgrade_error (libp2p#771) Update muxers to edition 2018 (libp2p#788) it -> this (libp2p#784) Add helpers for easier Transports creation (libp2p#777) Store information about the local node in the topology (libp2p#772) Upgrade secio to the 2018 edition (libp2p#774) Switch ping to edition 2018 (libp2p#780) Remove PeriodicIdentifyListen and IdentifyListen (libp2p#769) Add an IdentifyTopology (libp2p#770) More precise errors in the nodes module (libp2p#765) Simplify handling of upgrade information. (libp2p#761) Add version numbers in the deps in Cargo.toml (libp2p#768) Move the transport timeout to libp2p_core (libp2p#764) multistream-select: Update to 2018 edition. (libp2p#766) Add a mDNS network behaviour (libp2p#736) Remove weird line from readme (libp2p#763) Rename libp2p-tcp-transport to libp2p-tcp (libp2p#762)
* Add helpers for easier Transports creation (#777) * Add helpers for easier Transports creation * Fix doctests * Fix ' ;' occurrences
Fix #735
Also makes
CommonTransport
private.I tried to remove
CommonTransport
in favour of abuild_tcp_ws()
method, but I got compilation errors.It would be nice to eventually remove all these
Send
/Sync
requirements, but I'm not sure how.