Alex Crichton
a577bfc033
Remove the Reactor::run method ( #58 )
...
This commit removes the `Reactor::run` method which has previously been used to
execute futures and turn the reactor at the same time. The tests/examples made
heavy usage of this method but they have now all temporarily moved to `wait()`
until the futures dependency is upgraded. In the meantime this'll allow us to
further trim down the `Reactor` APIs to their final state.
2017-12-11 21:29:18 -06:00
Alex Crichton
108e1a2c1a
Blanket rename Core to Reactor
...
This commit uses a script to rename `Core` to `Reactor` all at once, notably:
find . -name '*.rs' | xargs sed -i 's/\bCore\b/Reactor/g'
2017-12-05 09:02:07 -08:00
Thomas de Zeeuw
0b54557796
Remove unused code ( #44 )
...
* remove unused #[macro_use] and #[allow(unused_macros)]
* remove unused FnBox trait
* remove unused temporary variable
* remove Evented trait requirement to implement Debug
2017-12-01 15:34:03 -06:00
Carl Lerche
b23a997cb8
Remove deprecated code.
...
This commit removes code that was deprecated in tokio-core master.
2017-10-30 16:37:15 -07:00
Carl Lerche
36aaaa1520
Rename crate to tokio
2017-10-30 16:37:00 -07:00
Alex Crichton
85257e19af
Touch up a few examples
2017-09-11 08:43:11 -07:00
Alex Crichton
a611f6ec30
Add a UDP mode to the connect example
2017-09-11 08:33:09 -07:00
king6cong
a67e0d3efb
comment rewording
2017-03-07 11:39:51 +08:00
Alex Crichton
1a48b79474
Touch up examples to ensure consistency
2016-11-22 12:35:30 -08:00
Kartik Singhal
be7992e639
This works only for IPv4 addresses
2016-11-09 12:10:07 -05:00
Kartik Singhal
71baa4967d
Correct client invocation example
2016-11-09 11:41:37 -05:00
Alex Crichton
4615c3ea78
Touch up the echo examples
2016-11-02 16:57:27 -07:00
Dawid Ciężarkiewicz
237bcead7a
Add UDP echo server example.
2016-11-02 16:30:37 -07:00