dignifiedquire
e4df1405c1
feat: add basic wasm support
2020-05-02 20:27:50 +02:00
dignifiedquire
b96afc41dc
implement task locals
2020-05-02 20:27:50 +02:00
dignifiedquire
e082634b5e
fix spawning
2020-05-02 20:27:50 +02:00
dignifiedquire
1308fbdf55
switch to smol instead of an internal runtime
2020-05-02 20:27:50 +02:00
Stjepan Glavina
36d24cd0e1
New scheduler resilient to blocking
2019-12-16 13:57:27 +01:00
Yoshua Wuyts
2dfdc1c482
polish lib.rs examples
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-12 23:10:23 +01:00
Stjepan Glavina
548733e5d5
Cleanup stream traits ( #487 )
...
* Cleanup stream traits
* Fix docs
2019-11-09 11:22:09 +01:00
Stjepan Glavina
93b01e36ed
Clippy fixes ( #462 )
2019-11-06 19:29:17 +00: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
k-nasa
fe49f2618f
fix clippy::redundant_clone
2019-10-27 20:34:44 +09:00
Taiki Endo
944e43d4bf
Remove Pin API related unsafe code by using pin-project-lite cra… ( #381 )
2019-10-23 10:35:02 +01:00
Stjepan Glavina
46f0fb1c64
Make sure each invocation of block_on uses its own Parker ( #358 )
2019-10-17 11:52:42 +02:00
Yoshua Wuyts
33806ad44c
fix warning
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-10-15 16:01:26 +02:00
Yoshua Wuyts
12fdc1232d
rename task::blocking to task::spawn_blocking
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-10-15 16:01:26 +02:00
k-nasa
9d9543c46b
refactor: Remove needless main fn
2019-10-13 16:33:02 +09:00
Yoshua Wuyts
fc904a22cd
add task::blocking docs
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-10-09 13:03:38 +02:00
k-nasa
f08fcd0bbb
refactor
2019-10-01 18:08:24 +09:00
Stjepan Glavina
bfd7af8775
Rename local.rs -> task_local.rs
2019-09-18 13:59:32 +02:00
Stjepan Glavina
0924911ac3
Implement simple work stealing
2019-09-17 11:12:47 +02:00
Yoshua Wuyts
9c82d5e3f3
remove custom log tools in favor of macro crate
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-09-16 14:07:06 +02:00
Stjepan Glavina
1d862cf604
Remove the Send bound from block_on
2019-09-15 00:36:17 +02:00
Stjepan Glavina
bac74c2d7f
Reduce dependency on futures crate ( #140 )
...
* Add future::poll_fn
* Replace all uses of poll_fn with the new one
* Remove some uses of futures
* Simplify ReadDir and DirEntry
* Remove some use of futures from File
* Use futures subcrates
* Fix imports in docs
* Remove futures-util dependency
* Remove futures-executor-preview
* Refactor
* Require more features in the futures-preview crate
2019-09-05 01:22:41 +02:00