Yoshua Wuyts
51dd7ceb72
Merge pull request #727 from async-rs/revert-719-remove_re_export
...
Revert "Stabilize most stream method and remove unnecessary macros"
5 years ago
k-nasa
8931d1464e
fix ci
5 years ago
nasa
cc19592f80
Revert "Stabilize most stream method and remove unnecessary macros"
5 years ago
Yoshua Wuyts
61f9483cc5
Merge pull request #719 from k-nasa/remove_re_export
...
Stabilize most stream method and remove unnecessary macros
5 years ago
k-nasa
f33d7f40ab
fix test
5 years ago
k-nasa
e3bf89fc05
$cargo fmt
5 years ago
k-nasa
ec4b09ecd0
fix test code
5 years ago
k-nasa
b95bd6c1fe
fix: Remove unnecessary io modules
5 years ago
k-nasa
1e18839f1f
fix warning
5 years ago
k-nasa
f31878655e
fix: Stabilize stream method
5 years ago
k-nasa
9a62df143f
add whitespace
5 years ago
k-nasa
75223905bd
fix: Stabilize stream most method
5 years ago
k-nasa
be60dd9fe7
fix: Remove unnecessary re-export and macros
5 years ago
k-nasa
23b7c174f3
feat: Stabilize io::Std*Lock
5 years ago
Yoshua Wuyts
9167d42f4b
Merge pull request #708 from sunli829/master
...
Add Xactor to the ecosystems inside the readme
5 years ago
Yoshua Wuyts
4034d58709
Merge pull request #714 from abhijeetbhagat/patch-1
...
Add missing ? operator after handle.await
5 years ago
abhi
4742f461fe
Add missing ? operator after handle.await
...
According to line#118, there should be a `?` operator after `await`.
5 years ago
nasa
efab39eeaf
Merge pull request #710 from k-nasa/fix_ci_failed
...
Fixed ci failing
5 years ago
k-nasa
bd60cd9f81
run `cargo fmt`
5 years ago
sunli
b9e4b6da3e
Add Xactor to the ecosystems inside the readme
5 years ago
Yoshua Wuyts
eb03f37e43
Merge pull request #697 from async-rs/core-docs
...
Document the core feature
5 years ago
Yoshua Wuyts
d87e283215
Update src/lib.rs
5 years ago
Yoshua Wuyts
283a54a155
Update src/lib.rs
5 years ago
Yoshua Wuyts
3719484eba
Update src/lib.rs
...
Co-Authored-By: nasa <htilcs1115@gmail.com>
5 years ago
Yoshua Wuyts
d026c44ea3
Document the core feature
...
Follow-up to https://github.com/async-rs/async-std/pull/680
5 years ago
Yoshua Wuyts
125fa5b0a0
Merge pull request #680 from k-nasa/no_std
...
Some modules support no_std
5 years ago
Yoshua Wuyts
39f2c6da78
V1.5.0 ( #694 )
...
* Update CHANGELOG.md
* v1.5.0
* Update CHANGELOG.md
5 years ago
k-nasa
3e24e0ba4e
ci: fix no-std check
5 years ago
k-nasa
0d90cb07b9
fix: Move `extern crate alloc` to lib.rs
5 years ago
k-nasa
f789f9d4f6
Select future-core featue according to feature
5 years ago
k-nasa
ef985bc72e
ci: fix no_std ci
5 years ago
Stjepan Glavina
1d875836a2
Implement Clone for TcpStream ( #689 )
...
* Implement Clone for TcpStream
* Update examples
* Remove accidentally added examples
5 years ago
k-nasa
7efe7caf66
fix: Change feature name no-std to alloc
5 years ago
k-nasa
22d929d481
fix import Future
5 years ago
k-nasa
d622ec5d35
feat: Make the stream module no_std
5 years ago
k-nasa
880b7ee987
remove crate::prelude import
5 years ago
k-nasa
1762de285b
feat: Make the future module no_std
5 years ago
k-nasa
6aa55fde59
feat: Make the task module no_std
5 years ago
k-nasa
41f114d9fe
ci: Add no-std check
5 years ago
k-nasa
3d32fd81f4
feat: Make the utils module no_std
5 years ago
k-nasa
51b84a7620
feat: Add no_std attribute when not std feature
5 years ago
k-nasa
4996f29778
feat: Add no-std feature
5 years ago
Toralf Wittner
57974ae0b7
Use non-blocking connect for TcpStream. ( #687 )
...
* Use non-blocking connect for TcpStream.
Instead of spawning a background thread which is unaware of any timeouts
but continues to run until the TCP stack decides that the remote is not
reachable we use mio's non-blocking connect.
mio's `TcpStream::connect` returns immediately but the actual connection
is usually just in progress and we have to be sure the socket is
writeable before we can consider the connection as established.
* Add Watcher::{poll_read_ready, poll_write_ready}.
Following a suggestion of @stjepang we offer methods to check for
read/write readiness of a `Watcher` instead of the previous approach to
accept a set of `Waker`s when registering an event source. The changes
relative to master are smaller and both methods look more useful in
other contexts. Also the code is more robust w.r.t. wakeups of the
`Waker` from clones outside the `Reactor`.
I am not sure if we need to add protection mechanisms against spurious
wakeups from mio. Currently we treat the `Poll::Ready(())` of
`Watcher::poll_write_ready` as proof that the non-blocking connect has
finished, but if the event from mio was a spurious one, it might still
be ongoing.
5 years ago
Yoshua Wuyts
57f9fb7e93
Merge pull request #682 from k-nasa/impl_clone_for_dir_entry
...
Implement Clone trait for DirEntry
5 years ago
Yoshua Wuyts
6c1b5eb3ed
Merge pull request #667 from olegnn/option_take_while
...
Use `take_while` instead of `scan` in `impl` of `Product`, `Sum` and `FromStream` for `Option` and `Result`
5 years ago
Yoshua Wuyts
beb8d240c2
Merge pull request #688 from ninj/patch-1
...
fix syntax problem for task::sleep
5 years ago
ninj
b258215952
fix syntax problem for task::sleep
5 years ago
Florian Gilcher
1ababac97f
Merge branch 'accept_loop_pattern'
5 years ago
Florian Gilcher
f9fe5c90cf
Fix some typos in accept-loop pattern chapter
5 years ago
Florian Gilcher
84fe94444b
Merge pull request #675 from k-nasa/add_timeout_example
...
Add stream::timeout example when timeout error
5 years ago