dignifiedquire
e4df1405c1
feat: add basic wasm support
4 years ago
dignifiedquire
b96afc41dc
implement task locals
4 years ago
dignifiedquire
e082634b5e
fix spawning
4 years ago
dignifiedquire
1308fbdf55
switch to smol instead of an internal runtime
4 years ago
Stjepan Glavina
36d24cd0e1
New scheduler resilient to blocking
4 years ago
Yoshua Wuyts
2dfdc1c482
polish lib.rs examples
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Stjepan Glavina
548733e5d5
Cleanup stream traits ( #487 )
...
* Cleanup stream traits
* Fix docs
5 years ago
Stjepan Glavina
93b01e36ed
Clippy fixes ( #462 )
5 years ago
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
5 years ago
k-nasa
fe49f2618f
fix clippy::redundant_clone
5 years ago
Taiki Endo
944e43d4bf
Remove Pin API related unsafe code by using pin-project-lite cra… ( #381 )
5 years ago
Stjepan Glavina
46f0fb1c64
Make sure each invocation of block_on uses its own Parker ( #358 )
5 years ago
Yoshua Wuyts
33806ad44c
fix warning
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts
12fdc1232d
rename task::blocking to task::spawn_blocking
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
k-nasa
9d9543c46b
refactor: Remove needless main fn
5 years ago
Yoshua Wuyts
fc904a22cd
add task::blocking docs
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
k-nasa
f08fcd0bbb
refactor
5 years ago
Stjepan Glavina
bfd7af8775
Rename local.rs -> task_local.rs
5 years ago
Stjepan Glavina
0924911ac3
Implement simple work stealing
5 years ago
Yoshua Wuyts
9c82d5e3f3
remove custom log tools in favor of macro crate
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Stjepan Glavina
1d862cf604
Remove the Send bound from block_on
5 years ago
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
5 years ago