5217e29fab
Add rustfmt to travis ( #137 )
...
* RFC styling-based `rustfmt.toml`
* Add rustfmt to travis
* Remove rustfmt.toml and actually fix too-long lines instead of ignoring them
2018-03-07 16:20:55 +01:00
39dde305b4
Rework libp2p-identify ( #116 )
...
* Add a proper PeerId to Peerstore
* Turn identify into a transport layer
* Expose the dialed multiaddress
* Add identified nodes to the peerstore
* Allow configuring the TTL of the addresses
* Split identify in two modules
* Some comments and tweaks
* Run rustfmt
* Add test and bugfix
* Fix wrong address reported when dialing
* Fix websocket browser code
* Support the p2p protocol in libp2p-identify
* Fix concerns
* Fix libp2p-dns
* More concerns
2018-03-07 10:49:11 +01:00
6f450eeef3
Add logging to secio ( #127 )
2018-02-14 13:02:56 +01:00
68c8627597
Correctly report the address of the dialer in identify
2018-01-10 17:35:22 +01:00
acbe1d0386
No longer use deprecated function Multiaddr::new
2018-01-09 19:16:45 +01:00
f0bd19d848
Merge pull request #68 from tomaka/secio-docs
...
Add documentation and README for secio
2017-12-15 16:26:45 +01:00
3937649300
Distinguish between initiator and receiver
2017-12-11 16:17:05 +01:00
b592f281a2
Add documentation and README for secio
2017-12-07 15:34:22 +01:00
16937910c2
Merge pull request #56 from tomaka/secio-api-improvement
...
Improve the API of the secio crate
2017-12-07 12:16:14 +01:00
69d1b9f542
Fix typos
2017-12-07 12:05:43 +01:00
900bf67623
Remove the tokio-core dependency where not necessary
2017-12-06 12:03:01 +01:00
067c0683b5
Rename SecioConnUpgrade to SecioConfig
2017-12-04 15:50:14 +01:00
33025ba22e
Improve the API of the secio crate
2017-12-04 15:41:35 +01:00
100f368c9d
Implement swarm
2017-11-20 17:03:50 +01:00
3774b6e900
Apparently this is truly the fastest way
2017-11-20 12:20:13 +01:00
29b1603978
Apparently using extend_from_slice is faster
2017-11-20 12:20:13 +01:00
f6e5da5358
Fix concerns
2017-11-20 12:20:13 +01:00
2faf4875b7
Slightly optimize allocation when encoding
2017-11-20 12:20:13 +01:00
e7bc9d4d7d
Implement secio
2017-11-20 12:20:11 +01:00