27 Commits

Author SHA1 Message Date
Pierre Krieger
bd73f60358 Add some Send implementations to Futures (#412) 2018-08-14 15:23:30 +02:00
Toralf Wittner
66db7f89b7 Externalise unsigned-varint crate. (#329) 2018-08-10 16:35:41 +02:00
Pierre Krieger
9480295bf2
Add licenses to all Cargo.toml files (#349) 2018-07-21 12:15:42 +02:00
Pierre Krieger
6bda589389
Some cleanup with clippy and rustfmt (#310) 2018-07-17 11:55:18 +02:00
Pierre Krieger
16e3453b7f
Use the new version of tokio (#303) 2018-07-16 12:15:27 +02:00
Pierre Krieger
f104dd9036
Run rustfmt on files that aren't really touched (#289) 2018-07-11 11:14:40 +02:00
Pierre Krieger
6ed518e9a5
Add logging for multistream handshake (#260) 2018-06-21 13:44:07 +02:00
Toralf Wittner
86a21fc43e
Remove all targets from log statements. (#195)
The default uses crate + module path anyway, so `target` has been
redundant, causes more work when renaming crates and makes log
lines longer.
2018-05-17 15:14:13 +02:00
Pierre Krieger
f787f3d8b8
Swarm rework (#182)
* Rename Transport::RawConn to Output

* Remove AsyncRead + AsyncWrite bound on Transport::Output

* UpgradedNode now always implements Transport

* Add and tweak modifiers for Transport and ConnectionUpgrade

* Secio upgrade now returns the pubkey in its output

* Add upgrade::apply

* Add Transport::and_then

* Rework the swarm

* Rustfmt

* Fix concerns
2018-05-14 15:55:16 +02:00
Toralf Wittner
64278244de Add log statements to multistream-select. (#180)
Addresses issue #126.
2018-05-08 20:43:00 +02:00
Jef
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
Jef
cace5bf577 Fix varint::encode allocating for small inputs (#103)
* Fix `encode` allocating for small inputs

* Fix protocol listener expecting `Vec`
2018-01-24 11:14:17 +01:00
Pierre Krieger
39b0b56186 Fix concerns 2017-12-18 13:26:59 +01:00
Pierre Krieger
2b4dcdc756 Implement the ls command for multistream-select 2017-12-18 13:25:51 +01:00
Vurich
090e545f6f Remove testing code 2017-12-15 16:30:21 +01:00
Pierre Krieger
5ddda08170 [WIP] Integrate multiplex in the examples 2017-12-12 12:51:49 +01:00
Pierre Krieger
809ff7eecf Fix error handling in Swarm dial() and listen_on() 2017-12-07 16:22:13 +01:00
Pierre Krieger
4f3f9f65ec Fix multistream-select as well 2017-12-06 12:03:01 +01:00
Pierre Krieger
c5e2ee0fec Documentation for multistream-select 2017-12-01 12:12:34 +01:00
tomaka
714e5be2b8
Merge pull request #31 from tomaka/multistream-select-fix-into-inner
Fix multistream-select into_inner()
2017-11-20 10:35:17 +01:00
Guanqun Lu
15df93a954 add a small test case for Err result 2017-11-16 23:59:38 +08:00
Pierre Krieger
0540dc2f4c Fix multistream-select into_inner() 2017-11-10 12:32:23 +01:00
Pierre Krieger
d8b1b36bed Update license text in source code 2017-11-08 10:11:58 +01:00
Pierre Krieger
8a2e7f7b60 Add license and doc strings 2017-11-07 18:25:10 +01:00
Pierre Krieger
de6f9061aa Use legacy where style in rustfmt.toml 2017-11-07 14:31:18 +01:00
Pierre Krieger
16fc354945 Extract tests to separate module 2017-11-07 10:26:45 +01:00
Pierre Krieger
db6be0aa8b Implement multistream-select 2017-11-05 19:52:39 +01:00