Stjepan Glavina
c34e0f8a35
Update futures to 0.3 ( #463 )
...
* Update futures to 0.3
* Fix a search-and-replace error
* Fix imports in tests
* Fix an import
5 years ago
Stjepan Glavina
93b01e36ed
Clippy fixes ( #462 )
5 years ago
Gabriel Majeri
d502453057
Remove doc `Stream` impl for `VecDeque` ( #461 )
5 years ago
Yoshua Wuyts
3144e217ae
Merge pull request #458 from async-rs/rework-intro
...
rework lib.rs docs
5 years ago
Yoshua Wuyts
f4fb8a3534
change one line
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts
1c87e97e9c
Apply suggestions from code review
...
Co-Authored-By: Stjepan Glavina <stjepang@gmail.com>
5 years ago
Yoshua Wuyts
ae8b051892
rework lib.rs docs
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Stjepan Glavina
1707638ebb
Update mod.rs
5 years ago
Yoshua Wuyts
84fa4ca068
Merge pull request #456 from stjepang/doc-fixes-links
...
Fix some links in docs
5 years ago
Stjepan Glavina
43bb59cd02
Fix some links in docs
5 years ago
Yoshua Wuyts
e14cc2a30d
Merge pull request #452 from stjepang/fix-deadlocks
...
Fix a deadlock in channel
5 years ago
Stjepan Glavina
6d421de992
Fix another clippy warning
5 years ago
Stjepan Glavina
5874392397
Fix a clippy warning
5 years ago
Stjepan Glavina
e9edadffc7
Fix a deadlock in channel
5 years ago
Yoshua Wuyts
282ae064fe
Merge pull request #449 from async-rs/strip-vecdeque
...
remove remaining instances of VecDeque stream
5 years ago
Stjepan Glavina
20cdf73bb0
Simplify RwLock using WakerSet ( #440 )
5 years ago
Yoshua Wuyts
ed1cb49807
remove remaining instances of VecDeque stream
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Stjepan Glavina
78614c6c1d
Clarify blocking in channel docs ( #448 )
5 years ago
nasa
ddbbbfc32a
Replace `VecDeque` with `stream::from_iter` in examples ( #447 )
5 years ago
Aleksey Kladov
fa91d7f856
Stream::merge does not end prematurely if one stream is delayed ( #437 )
...
* Stream::merge does not end prematurely if one stream is delayed
* `cargo test` without features works
* Stream::merge works correctly for unfused streams
5 years ago
Yoshua Wuyts
9a4f4c591c
Merge pull request #441 from async-rs/stdio-lock-unstable
...
mark stdio-lock structs as unstable
5 years ago
Yoshua Wuyts
6f9436e575
mark stdio-lock structs as unstable
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts
735fa6954e
Replace select!/try_select! with Future::{race,try_race} ( #405 )
...
* init Future::select
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* implement Future::select
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* try_select
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* fixes
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* works
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* pass clippy
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* please clippy
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* implement feedback from stjepan
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* rename select to race
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* fmt
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
yjh
3a2e6d5b92
add max_by_key ( #408 )
...
* add max_by_key
* fix conflict
* fmt code
5 years ago
Zhang Guyu
5fb9d3e980
add Stream::copied ( #442 )
5 years ago
Yoshua Wuyts
4c63392a85
Merge pull request #334 from k-nasa/add_stdin_lock
...
Locking for stdin
5 years ago
k-nasa
3dcad984b4
fix: To unstable feature
5 years ago
Yoshua Wuyts
c413e717da
Merge pull request #429 from markhildreth/tcp_smoke_tests
...
Added TCP smoke tests against std Listener and Stream
5 years ago
Yoshua Wuyts
911ebada0b
Merge pull request #434 from paulocsanz/master
...
Put everything behind a 'stable' feature to avoid future breaking changes
5 years ago
Aleksey Kladov
ec1a6ea3e8
Fix typo ( #439 )
5 years ago
Tyler Neely
5adc608791
Spawn several threads when we fail to enqueue work in the blocki… ( #181 )
...
* Rebase onto master
* Switch to unbounded channels
5 years ago
Sheyne Anderson
1a51ca424a
Fix typo in tutorial in book ( #412 )
5 years ago
k-nasa
81873ae5f3
fix
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
Yoshua Wuyts
e17a6703c8
Merge pull request #415 from k-nasa/stream_from_iter
...
Add stream::from_iter
5 years ago
Paulo
8e991bcd3a
Fix typo
5 years ago
Paulo
2e66c38453
Simplify default feature
5 years ago
k-nasa
0661f774c2
Merge branch 'master' into add_stdin_lock
5 years ago
k-nasa
2f3c867d44
Merge branch 'master' into stream_from_iter
5 years ago
k-nasa
063798ce49
Add doc
5 years ago
Yoshua Wuyts
a3b742188d
fix doc tests ( #431 )
...
* fix doc tests
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* cargo fmt
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Florian Gilcher
57670dd9d7
Merge pull request #433 from JohnTitor/remove-deprecated-action
...
Remove deprecated action
5 years ago
Paulo
dcd7c55cef
Put everything behind a 'stable' feature
5 years ago
Yuki Okushi
277fd521bc
Remove deprecated action
5 years ago
Stjepan Glavina
87de4e1598
Add utility type WakerSet to the sync module ( #390 )
...
* Add utility type Registry to the sync module
* Remove unused import
* Split unregister into complete and cancel
* Refactoring and renaming
* Split remove() into complete() and cancel()
* Rename to WakerSet
* Ignore clippy warning
* Ignore another clippy warning
* Use stronger SeqCst ordering
5 years ago
Stjepan Glavina
3dd59d7056
Refactor the task module ( #421 )
...
* Refactor the task module
* Fix clippy warning
* Simplify task-local entries
* Reduce the amount of future wrapping
* Cleanup
* Simplify stealing
5 years ago
k-nasa
caa23381f0
fix clippy warning
5 years ago
k-nasa
eeb44c86e9
fix
5 years ago
k-nasa
f8b8c9debe
Merge branch 'master' into add_stdin_lock
5 years ago
Yoshua Wuyts
c1e8517959
Merge pull request #414 from k-nasa/fix_github_actions
...
Add only rustfmt on Checking fmt and docs actions
5 years ago