Yoshua Wuyts
19fd7a4084
fix channel tests
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2020-03-15 23:53:03 +01:00
Yoshua Wuyts
7885c245c5
recverror
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2020-03-15 23:53:03 +01:00
Yoshua Wuyts
7b7b959a6e
mark channel errs as unstable
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2020-03-15 23:53:03 +01:00
Yoshua Wuyts
32dce319d3
expose try_recv and try_send on channels
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2020-03-15 23:53:03 +01:00
Yoshua Wuyts
49dd02b4de
Make the split struct public
2020-03-15 23:51:19 +01:00
Yoshua Wuyts
bb11c676a1
doctests pass
2020-03-15 23:46:36 +01:00
Yoshua Wuyts
e026b7579a
Merge pull request #703 from spacekookie/recv-docs
...
channel/recv: improving function docs and code example
2020-03-15 14:41:07 +01:00
Yoshua Wuyts
51dd7ceb72
Merge pull request #727 from async-rs/revert-719-remove_re_export
...
Revert "Stabilize most stream method and remove unnecessary macros"
2020-03-15 13:27:39 +01:00
k-nasa
8931d1464e
fix ci
2020-03-14 22:46:22 +09:00
nasa
cc19592f80
Revert "Stabilize most stream method and remove unnecessary macros"
2020-03-12 18:34:09 +09:00
Yoshua Wuyts
61f9483cc5
Merge pull request #719 from k-nasa/remove_re_export
...
Stabilize most stream method and remove unnecessary macros
2020-03-06 14:31:06 +01:00
k-nasa
f33d7f40ab
fix test
2020-03-06 09:53:28 +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
k-nasa
b95bd6c1fe
fix: Remove unnecessary io modules
2020-03-05 10:34:41 +09:00
k-nasa
1e18839f1f
fix warning
2020-03-04 08:55:37 +09:00
k-nasa
f31878655e
fix: Stabilize stream method
2020-03-04 08:30:45 +09:00
k-nasa
9a62df143f
add whitespace
2020-03-03 23:14:25 +09:00
k-nasa
75223905bd
fix: Stabilize stream most method
2020-03-03 23:12:09 +09:00
k-nasa
be60dd9fe7
fix: Remove unnecessary re-export and macros
2020-03-03 22:50:26 +09:00
k-nasa
23b7c174f3
feat: Stabilize io::Std*Lock
2020-03-03 22:46:18 +09:00
Yoshua Wuyts
9167d42f4b
Merge pull request #708 from sunli829/master
...
Add Xactor to the ecosystems inside the readme
2020-03-02 13:20:14 +01:00
Yoshua Wuyts
4034d58709
Merge pull request #714 from abhijeetbhagat/patch-1
...
Add missing ? operator after handle.await
2020-03-02 13:11:15 +01:00
abhi
4742f461fe
Add missing ? operator after handle.await
...
According to line#118, there should be a `?` operator after `await`.
2020-02-22 15:17:06 +05:30
nasa
efab39eeaf
Merge pull request #710 from k-nasa/fix_ci_failed
...
Fixed ci failing
2020-02-20 09:33:44 +09:00
k-nasa
bd60cd9f81
run cargo fmt
2020-02-20 09:03:36 +09:00
sunli
b9e4b6da3e
Add Xactor to the ecosystems inside the readme
2020-02-19 14:36:07 +08:00
Yoshua Wuyts
eb03f37e43
Merge pull request #697 from async-rs/core-docs
...
Document the core feature
2020-02-17 13:38:39 +01:00
Yoshua Wuyts
d87e283215
Update src/lib.rs
2020-02-17 13:38:24 +01:00
Yoshua Wuyts
283a54a155
Update src/lib.rs
2020-02-17 13:36:59 +01:00
Yoshua Wuyts
3719484eba
Update src/lib.rs
...
Co-Authored-By: nasa <htilcs1115@gmail.com>
2020-02-17 13:36:23 +01:00
Katharina Fey
aae835cc14
channel/recv: improving function docs and code example
...
At the moment it's not clear when and why recv returns Option<T>,
instead of just T. This changed comment makes it clear that None will
only be returned once no data will ever be sent again (i.e. after all
senders are gone).
2020-02-12 01:38:20 +01:00
Yoshua Wuyts
d026c44ea3
Document the core feature
...
Follow-up to https://github.com/async-rs/async-std/pull/680
2020-02-04 11:07:50 +01:00
Yoshua Wuyts
125fa5b0a0
Merge pull request #680 from k-nasa/no_std
...
Some modules support no_std
2020-02-04 11:02:19 +01:00
Yoshua Wuyts
39f2c6da78
V1.5.0 ( #694 )
...
* Update CHANGELOG.md
* v1.5.0
* Update CHANGELOG.md
2020-02-03 16:45:00 +01:00
k-nasa
3e24e0ba4e
ci: fix no-std check
2020-02-01 16:45:59 +09:00
k-nasa
0d90cb07b9
fix: Move extern crate alloc
to lib.rs
2020-02-01 09:49:54 +09:00
k-nasa
f789f9d4f6
Select future-core featue according to feature
2020-02-01 09:47:33 +09:00
k-nasa
ef985bc72e
ci: fix no_std ci
2020-02-01 09:45:41 +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
k-nasa
7efe7caf66
fix: Change feature name no-std to alloc
2020-01-28 15:58:46 +09:00
k-nasa
22d929d481
fix import Future
2020-01-28 15:58:46 +09:00
k-nasa
d622ec5d35
feat: Make the stream module no_std
2020-01-28 15:58:46 +09:00
k-nasa
880b7ee987
remove crate::prelude import
2020-01-28 15:58:46 +09:00
k-nasa
1762de285b
feat: Make the future module no_std
2020-01-28 15:58:46 +09:00
k-nasa
6aa55fde59
feat: Make the task module no_std
2020-01-28 15:58:46 +09:00
k-nasa
41f114d9fe
ci: Add no-std check
2020-01-28 15:58:46 +09:00
k-nasa
3d32fd81f4
feat: Make the utils module no_std
2020-01-28 15:58:46 +09:00
k-nasa
51b84a7620
feat: Add no_std attribute when not std feature
2020-01-28 15:58:46 +09:00
k-nasa
4996f29778
feat: Add no-std feature
2020-01-28 15:58:46 +09:00