Stjepan Glavina
1d875836a2
Implement Clone for TcpStream ( #689 )
...
* Implement Clone for TcpStream
* Update examples
* Remove accidentally added examples
5 years ago
Yoshua Wuyts
1546448800
remove throttle example
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts
338273eb18
Merge pull request #356 from Wassasin/342-stream-throttle
...
Implemented StreamExt::throttle
5 years ago
Wouter Geraedts
4ab7b213de
Updated example to be consistent; added timing measurements to throttle
5 years ago
Alex Macleod
1b7d5bea6b
Enable surf example
...
1.0.3 has been released with the required change
5 years ago
Wouter Geraedts
b591fc68bd
Changed semantics of throttle to non-dropping variant with backpressure
5 years ago
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
5 years ago
k-nasa
c9d958d309
$cargo fix -Z unstable-options --clippy --features unstable
5 years ago
Taiki Endo
77ebedd44c
Temporarily deactivate the surf example
5 years ago
Kevin Donahue
e8bd79efb8
add remaining examples
5 years ago
Kevin Donahue
ac9d0df7c2
add logging and print file examples
5 years ago
Kevin Donahue
25185da76d
add inline example
5 years ago
Kevin Donahue
3db7631a7d
create readme in examples directory
5 years ago
Stjepan Glavina
a4381230b8
Clean up the fs module and a few other places
5 years ago
Stjepan Glavina
ab1e2b403a
Fix compilation errors on latest nightly
5 years ago
Stjepan Glavina
17c95a39d7
More robust file implementation
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Aleksey Kladov
5b96fa9daa
move a-chat tutorial's code to this repo
5 years ago
Florian Gilcher
dfd520c778
rustfmt all examples
5 years ago
Florian Gilcher
9370cd3298
Fix README example
5 years ago
Yoshua Wuyts
63ad786768
remove async_await feature gate
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Stjepan Glavina
e9e3754402
Add Surf example ( #78 )
...
* Add Surf example
* Use a different osx image
5 years ago
Florian Gilcher
e8e82c6b71
Remove surf example
...
Doesn't build on mac
5 years ago
Florian Gilcher
56cd64520d
Merge pull request #33 from async-rs/remove-time-module
...
Remove time module
5 years ago
Florian Gilcher
96b6349196
Fix warning in stdin-timeout example ( #39 )
5 years ago
Stjepan Glavina
39531c1f63
Update surf-web.rs
5 years ago
Stjepan Glavina
4b45918f50
Remove time module
5 years ago
Stjepan Glavina
487811ed4c
Merge pull request #19 from async-rs/io-timeout
...
Add io::timeout()
5 years ago
Stjepan Glavina
e3fc67c1cb
Address comments
5 years ago
Stjepan Glavina
62be014edc
Bring back surf example
5 years ago
Stjepan Glavina
e459bd048e
Cleanup and docs
5 years ago
Stjepan Glavina
019c8085f4
Cleanup examples
5 years ago
Stjepan Glavina
caf50e69cf
Formatting
5 years ago
Stjepan Glavina
fdf0e3ad0f
Add the line-count example
5 years ago
Florian Gilcher
5b0a6269a9
Initial commit
5 years ago