Commit graph

37 commits

Author SHA1 Message Date
nasa
cc19592f80
Revert "Stabilize most stream method and remove unnecessary macros" 2020-03-12 18:34:09 +09:00
k-nasa
e3bf89fc05 $cargo fmt 2020-03-05 18:49:58 +09:00
k-nasa
ec4b09ecd0 fix test code 2020-03-05 18:47:53 +09:00
Stjepan Glavina
1d875836a2
Implement Clone for TcpStream (#689)
* Implement Clone for TcpStream

* Update examples

* Remove accidentally added examples
2020-01-28 18:14:16 +01:00
Yoshua Wuyts
1546448800
remove throttle example
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-14 21:27:20 +01:00
Yoshua Wuyts
338273eb18
Merge pull request #356 from Wassasin/342-stream-throttle
Implemented StreamExt::throttle
2019-11-14 21:25:34 +01:00
Wouter Geraedts
4ab7b213de Updated example to be consistent; added timing measurements to throttle 2019-11-12 15:38:02 +01:00
Alex Macleod
1b7d5bea6b Enable surf example
1.0.3 has been released with the required change
2019-11-12 12:19:11 +00:00
Wouter Geraedts
b591fc68bd Changed semantics of throttle to non-dropping variant with backpressure 2019-11-11 12:17:00 +01:00
Florian Gilcher
d5fd035956 Small example for a TCP server that both handles IP v4 and v6 (#418)
* Add a small example for listening to both ipv4 and ipv6

Presenting stream merge on Incoming.

* Change stable checks workflow to not cover examples, but tests
2019-11-01 16:10:37 +01:00
k-nasa
c9d958d309 $cargo fix -Z unstable-options --clippy --features unstable 2019-10-27 20:31:53 +09:00
Taiki Endo
77ebedd44c Temporarily deactivate the surf example 2019-10-02 02:23:41 +09:00
Kevin Donahue
e8bd79efb8 add remaining examples 2019-09-26 20:57:56 -04:00
Kevin Donahue
ac9d0df7c2 add logging and print file examples 2019-09-25 20:21:59 -04:00
Kevin Donahue
25185da76d add inline example 2019-09-24 17:42:18 -04:00
Kevin Donahue
3db7631a7d create readme in examples directory 2019-09-24 17:42:18 -04:00
Stjepan Glavina
a4381230b8 Clean up the fs module and a few other places 2019-09-14 01:24:31 +02:00
Stjepan Glavina
ab1e2b403a Fix compilation errors on latest nightly 2019-09-11 17:17:20 +02:00
Stjepan Glavina
17c95a39d7
More robust file implementation
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-09-07 23:17:20 +02:00
Aleksey Kladov
5b96fa9daa move a-chat tutorial's code to this repo 2019-09-04 21:25:54 +03:00
Florian Gilcher
dfd520c778
rustfmt all examples 2019-08-26 11:38:11 -07:00
Florian Gilcher
9370cd3298
Fix README example 2019-08-26 11:08:51 -07:00
Yoshua Wuyts
63ad786768
remove async_await feature gate
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-08-21 00:29:35 -07:00
Stjepan Glavina
e9e3754402
Add Surf example (#78)
* Add Surf example

* Use a different osx image
2019-08-18 19:14:27 +02:00
Florian Gilcher
e8e82c6b71
Remove surf example
Doesn't build on mac
2019-08-16 18:21:41 +02:00
Florian Gilcher
56cd64520d
Merge pull request #33 from async-rs/remove-time-module
Remove time module
2019-08-16 16:56:47 +02:00
Florian Gilcher
96b6349196 Fix warning in stdin-timeout example (#39) 2019-08-16 14:00:22 +02:00
Stjepan Glavina
39531c1f63
Update surf-web.rs 2019-08-15 19:57:02 +02:00
Stjepan Glavina
4b45918f50 Remove time module 2019-08-15 19:26:10 +02:00
Stjepan Glavina
487811ed4c
Merge pull request #19 from async-rs/io-timeout
Add io::timeout()
2019-08-15 18:46:35 +02:00
Stjepan Glavina
e3fc67c1cb Address comments 2019-08-15 17:59:48 +02:00
Stjepan Glavina
62be014edc Bring back surf example 2019-08-15 17:07:55 +02:00
Stjepan Glavina
e459bd048e Cleanup and docs 2019-08-14 04:22:37 +02:00
Stjepan Glavina
019c8085f4 Cleanup examples 2019-08-14 03:47:39 +02:00
Stjepan Glavina
caf50e69cf Formatting 2019-08-12 12:50:35 +02:00
Stjepan Glavina
fdf0e3ad0f Add the line-count example 2019-08-12 12:50:35 +02:00
Florian Gilcher
5b0a6269a9
Initial commit 2019-08-08 14:44:48 +02:00