177c6cf842
Remove _priv from IdentifyInfo ( #669 )
2018-11-22 14:36:48 +01:00
938b91742f
Add EitherUpgrade
and generalise OrUpgrade
. ( #662 )
2018-11-20 15:09:59 +01:00
2c1807b646
Remove Send/Sync/'static requirements in identify ( #649 )
2018-11-16 13:59:56 +01:00
37994b34e7
Behavior -> Behaviour ( #650 )
2018-11-16 12:59:57 +01:00
1c9091655b
Move protocols_handler to the root ( #643 )
2018-11-15 18:39:20 +01:00
2e549884ef
Split ConnectionUpgrade
. ( #642 )
...
Introduce `InboundUpgrade` and `OutboundUpgrade`.
2018-11-15 17:41:11 +01:00
b3b5a4bdfd
Add an IdentifyListen behaviour ( #626 )
...
* Add an IdentifyListen behaviour
* Use infos() and infos_mut() instead
2018-11-12 17:23:20 +01:00
52ce49da95
Add a PeriodicIdentifyBehaviour ( #617 )
2018-11-09 16:51:07 +01:00
1b4dada4d0
Inject event by value in ProtocolsHandler ( #605 )
2018-11-05 16:53:04 +01:00
0f3ef5ee0a
eg. -> e.g.; ie. -> i.e. via repren ( #592 )
...
* eg. -> e.g.; ie. -> i.e. via repren
* se.g. -> seg.
2018-11-02 16:40:00 +01:00
4225d2631b
Add a IdentifyTransport ( #569 )
...
* Add a IdentifyTransport
* Retreiver -> Retriever
* Move the muxer in the IdRetrieverState
2018-11-02 14:23:38 +01:00
9d91217193
Add a PeriodicIdentification protocol handler ( #579 )
...
* Add ProtocolsHandler trait
* Reexport symbols
* Add a note about shutting down
* Add a PeriodicIdentification protocol handler
2018-11-02 10:06:59 +01:00
45cd7db6e9
Remove spaces before semicolons ( #591 )
2018-10-29 10:38:32 +01:00
490ae980c7
#399 remove tokio_current_thread tests ( #577 )
...
* remove tokio_current_thread tests
* Review changes:
Removed newline
Moved uds tokio test crate to top to avoid self and keep with convention of other test crates
Removed sleep from uds test and block until all futures are completed.
2018-10-25 11:26:37 +02:00
1e223f627d
Remove other unused files ( #570 )
2018-10-18 15:21:14 +01:00
5d1c54cc10
New core ( #568 )
...
* New core
* Fix lifetime requirements
* Remove identify transport
* Address &mut & ref ref mut
* Fix whitespaces
2018-10-17 10:17:40 +01:00
84b089cacc
Refactor multiaddr crate. ( #498 )
...
Refactor multiaddr crate.
- Remove `AddrComponent`. Instead `Protocol` directly contains its
associated data.
- Various smaller changes around conversions to Multiaddr from other
types, e.g. socket addresses.
- Expand tests to include property tests which test encoding/decoding
identity.
2018-09-20 19:51:00 +02:00
b2756c8fa9
Make Multiaddr::iter
borrow data ( #478 )
...
* Use `unsigned-varint` crate.
* Implement `Display` for `Protocol`.
Gives `ToString` for free.
* Use `Cow` in `AddrComponent`.
* Add `AddrComponent::acquire`.
* Document `AddrComponent::acquire`.
2018-09-14 10:21:14 +02:00
ea1f172397
Implement Send everywhere ( #458 )
2018-09-06 09:54:35 +02:00
cd1d81b5d0
Update unsigned-varint crate to v0.2.0 ( #447 )
2018-09-03 17:19:03 +02:00
2ea49718f3
Clean up directory structure ( #426 )
...
* Remove unused circular-buffer crate
* Move transports into subdirectory
* Move misc into subdirectory
* Move stores into subdirectory
* Move multiplexers
* Move protocols
* Move libp2p top layer
* Fix Test: skip doctest if secio isn't enabled
2018-08-29 11:24:44 +02:00