awslabs / flowgger

A fast data collector in Rust
BSD 2-Clause "Simplified" License
834 stars 55 forks source link

Replace coio with may #51

Closed Trojan295 closed 5 years ago

Trojan295 commented 5 years ago

Issue #, if available: #45

Description of changes: This PR replaces the coio library with may.

I put the extern crate in lib.rs, because crates with macros need to be imported in the crate root. go! macro is used to spawn a new coroutines, but it could be replaced with the spawn functions, if you want to keep the crates in mod.rs.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

jedisct1 commented 5 years ago

Sweet!

And great to see that it didn't require a lot of changes.