Skip to content

Repository files navigation

UNIfied COroutines

UNICO is a library that integrates the built-in stackless coroutines (a.k.a. generators and futures) in Rust with powerful stackful coroutines.

Features

  • Straightforward and easy-to-use structures of symmetric and asymmetric stackful coroutines.
  • Generalized implementation of context switching methods and stack allocators, and users can implement their own.
  • Capability of polling futures synchronously inside stackful coroutines, and turning stackful coroutines into generators or futures.

Reference

This library is partially inspired by nbdd0121/stackful.

License

MIT or APACHE-2.0

About

UNIfied COroutines in rust

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages