| 1 | //! Collection of stream runtimes. |
| 2 | //! |
| 3 | //! A runtime contains all the I/O logic, and is responsible for |
| 4 | //! processing [I/O] requests emitted by [coroutines]. |
| 5 | //! |
| 6 | //! If you miss a runtime matching your requirements, you can easily |
| 7 | //! implement your own by taking example on the existing ones. PRs are |
| 8 | //! welcomed! |
| 9 | //! |
| 10 | //! [I/O]: crate::io::Io |
| 11 | //! [coroutines]: crate::coroutines |
| 12 | |
| 13 | #[cfg(feature = "std")] |
| 14 | pub mod std; |
| 15 | #[cfg(feature = "tokio")] |
| 16 | pub mod tokio; |