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 |
|
Stjepan Glavina
|
f588ba6bdd
|
Spawn more than one blocking thread (#475)
* Spawn more than 1 blocking thread
* Fix a bug
* Fix check when the thread is last sleeping
|
2019-11-07 23:39:54 +00:00 |
|
Stjepan Glavina
|
a757cc02dc
|
Expose extension traits in preludes
|
2019-11-06 00:21:32 +01:00 |
|
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>
|
2019-11-02 23:00:03 +01:00 |
|
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
|
2019-11-01 02:45:33 +01:00 |
|
Stjepan Glavina
|
ec23632f3e
|
Cleanup: replace cfg-if with our macros (#361)
* Cleanup: replace cfg-if with our macros
* Prefix macros with cfg_
* Remove #[macro_export] from internal macros
|
2019-10-17 19:17:49 +02:00 |
|
Yoshua Wuyts
|
49faea2023
|
init FutureExt (#308)
* init FutureExt
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* prelude
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* Refactor extension_trait
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* Fix rustdoc
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
|
2019-10-15 16:27:06 +02:00 |
|
Stjepan Glavina
|
ff028bb540
|
Improve compile times and add comments
|
2019-09-26 14:21:27 -04:00 |
|
Stjepan Glavina
|
79eab9eb9a
|
Simplify extension traits using a macro
|
2019-09-26 07:46:29 -04:00 |
|
Florian Gilcher
|
5b0a6269a9
|
Initial commit
|
2019-08-08 14:44:48 +02:00 |
|