cuishuang
|
ab112d5db6
|
fix some typos
Signed-off-by: cuishuang <imcusg@gmail.com>
|
2022-04-27 14:18:31 +08:00 |
|
Nicholas Nethercote
|
01ede03e0a
|
Reindent de-macrofied code.
This commit only affects whitespace; `git diff -w` for it is empty.
|
2022-03-11 13:16:30 +11:00 |
|
Nicholas Nethercote
|
1146c66f1b
|
Remove extension_trait .
At this point, `extension_trait` is basically an expensive no-op. This
commit removes it. The next commit will adjust the indentation.
|
2022-03-11 13:14:40 +11:00 |
|
Nicholas Nethercote
|
2dde8820fa
|
Remove what's left of the first trait in extension_trait .
|
2022-03-11 13:14:03 +11:00 |
|
Nicholas Nethercote
|
1c70420c5a
|
Move the base trait re-export outside of extension_trait .
|
2022-03-11 13:12:56 +11:00 |
|
Nicholas Nethercote
|
c626a69670
|
Move the blanket impl outside of extension_trait .
|
2022-03-11 13:12:08 +11:00 |
|
Nicholas Nethercote
|
6b3667d1a4
|
Remove unnecessary types in extension_trait .
The remaining type requires the square brackets (for now) because a `ty`
cannot immediately precede a `$(tt)*`.
|
2022-03-11 13:10:28 +11:00 |
|
Nicholas Nethercote
|
c10d2d3a6f
|
Simplify the first trait in extension_trait .
The body and doc comment are no longer used.
|
2022-03-11 13:09:30 +11:00 |
|
Nicholas Nethercote
|
ed2fcce557
|
Remove docs -only features from extension_trait .
This is the `@doc` rules, the shim trait impls, and the imports.
|
2022-03-11 12:46:59 +11:00 |
|
dasman
|
22e4bbdf73
|
Fix a typo in future/mod.rs
|
2022-02-25 05:47:21 -05:00 |
|
Taiki Endo
|
42c44045ad
|
Update pin-project-lite to 0.2.0
|
2020-11-14 05:28:27 +09:00 |
|
dignifiedquire
|
1c1c168e1b
|
fix(timer): ensure the runtime is working for timers
|
2020-06-18 12:37:14 +02:00 |
|
dignifiedquire
|
52c72426c1
|
fix: do not require the runtime to use unstable features
|
2020-06-03 18:38:20 +02:00 |
|
dignifiedquire
|
e4df1405c1
|
feat: add basic wasm support
|
2020-05-02 20:27:50 +02:00 |
|
dignifiedquire
|
ab9d6554aa
|
switch to smol::Timer
|
2020-05-02 20:27:50 +02:00 |
|
nasa
|
cc19592f80
|
Revert "Stabilize most stream method and remove unnecessary macros"
|
2020-03-12 18:34:09 +09:00 |
|
k-nasa
|
9a62df143f
|
add whitespace
|
2020-03-03 23:14:25 +09:00 |
|
k-nasa
|
be60dd9fe7
|
fix: Remove unnecessary re-export and macros
|
2020-03-03 22:50:26 +09:00 |
|
k-nasa
|
7efe7caf66
|
fix: Change feature name no-std to alloc
|
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 |
|
dignifiedquire
|
5bf3d95313
|
feat: do not require default feature for unstable
|
2020-01-11 11:44:51 +01:00 |
|
nasa
|
0d4b4cd260
|
Merge pull request #600 from miker1423/future-timeout
Adding timeout extension method to Future trait
|
2019-12-20 14:26:52 +09:00 |
|
Miguel Pérez García
|
ef021dcb2b
|
Changing test condition
|
2019-12-18 07:18:57 -06:00 |
|
Miguel Pérez García
|
eedf1d3367
|
Fixing docs
|
2019-12-17 23:17:02 -06:00 |
|
Miguel Pérez García
|
97b4901b75
|
Fixing tests
|
2019-12-17 23:12:09 -06:00 |
|
Miguel Pérez García
|
1eeb1019e9
|
Fixing example
|
2019-12-17 23:05:06 -06:00 |
|
Miguel Pérez García
|
980a1f7834
|
Correcting docs on function
|
2019-12-17 22:46:25 -06:00 |
|
Miguel Pérez García
|
8de9f9b8e1
|
Merge branch 'future-timeout' of https://github.com/miker1423/async-std into future-timeout
|
2019-12-12 18:31:45 -06:00 |
|
Yoshua Wuyts
|
a0f3b3b753
|
Remove unused macros (#610)
* replace async-macros with internals only
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* clean up MaybeDone
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* inline futures_core::ready
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* remove big commented blob
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
|
2019-12-11 12:49:22 +01:00 |
|
Miguel Pérez García
|
33e7c87dfc
|
Adding example to docs
|
2019-12-05 21:19:02 -06:00 |
|
Miguel Pérez García
|
c14c377974
|
Changing method signature
|
2019-12-05 08:09:58 -06:00 |
|
Miguel Pérez García
|
54fa559554
|
Changing scope of disclosure
|
2019-12-05 08:09:20 -06:00 |
|
Miguel Pérez García
|
1c2055fff0
|
Merge remote-tracking branch 'original/master' into future-timeout
|
2019-11-29 18:00:00 -06:00 |
|
nasa
|
794e331761
|
Refactor join type (#577)
* refactor: update future join type
* test: update future join test
* update future::try_join
|
2019-11-27 13:38:38 +01:00 |
|
Miguel Pérez García
|
c1f7be5d42
|
Adding timeout extension method to Future trait
|
2019-11-23 11:40:07 -06:00 |
|
k-nasa
|
6cbf48f12d
|
fix clippy warn
|
2019-11-16 01:29:16 +09:00 |
|
Stjepan Glavina
|
d4f38e783f
|
Cleanup future module
|
2019-11-09 17:26:19 +01:00 |
|
Yoshua Wuyts
|
96d3560742
|
remove future::*join macros (#492)
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
|
2019-11-09 17:02:48 +01:00 |
|
Yoshua Wuyts
|
037119c0c0
|
Merge pull request #478 from portgasd666/master
Add Future::join and Future::try_join
|
2019-11-09 11:31:47 +01:00 |
|
Stjepan Glavina
|
548733e5d5
|
Cleanup stream traits (#487)
* Cleanup stream traits
* Fix docs
|
2019-11-09 11:22:09 +01:00 |
|
Abhishek C. Sharma
|
f04b6f6fe9
|
Change module level docs for future to refer to join and try_join functions instead of macros
|
2019-11-09 13:09:47 +05:30 |
|
Abhishek C. Sharma
|
b14282457c
|
Add Future::join and Future::try_join
|
2019-11-08 11:29:39 +05:30 |
|
Yoshua Wuyts
|
335bd34470
|
Add "std" feature flag (#476)
* core feature
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* introduce std + default features
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* test std features on ci
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* finish up all features
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* Fix task_local macro
* Remove crossbeam-channel and futures-timer from std
* Move future::timeout() behind cfg_default
|
2019-11-07 23:56:58 +00:00 |
|
Abhishek C Sharma
|
eb1ef3f4e4
|
Minor documentation fix for race and try_race (#473)
|
2019-11-07 19:19:05 +00:00 |
|
Yoshua Wuyts
|
929027796e
|
hide future::Flatten
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
|
2019-11-07 03:06:38 +01:00 |
|
Yoshua Wuyts
|
9a8805678e
|
Merge pull request #443 from portgasd666/master
Added Future::flatten
|
2019-11-07 03:04:23 +01:00 |
|
Stjepan Glavina
|
a757cc02dc
|
Expose extension traits in preludes
|
2019-11-06 00:21:32 +01:00 |
|
Stjepan Glavina
|
43bb59cd02
|
Fix some links in docs
|
2019-11-05 17:49:05 +01:00 |
|
Abhishek C. Sharma
|
d7afcada76
|
Fixed ambiguous associated types
|
2019-11-04 15:19:47 +05:30 |
|
Abhishek C. Sharma
|
e36172e808
|
Merge remote-tracking branch 'upstream/master'
|
2019-11-04 14:03:29 +05:30 |
|