compio-rs / compio

A thread-per-core Rust runtime with IOCP/io_uring/polling.
MIT License
420 stars 37 forks source link

Add `main` and `test` macros as wrappers of `compio::task::block_on` #77

Closed kompl3xpr closed 1 year ago

kompl3xpr commented 1 year ago

Perfect work! I only have only some small requirements to fix.

Would you consider refactor all examples to use this macro? We can also change the README to use it.

Of course.

kompl3xpr commented 1 year ago

As a next step, I will implement the test macro and replace all test functions with it.