zeromq / zmq.rs

A native implementation of ØMQ in Rust
https://crates.io/crates/zeromq
MIT License
1.16k stars 100 forks source link

enable async dispatcher macros only for tests #193

Closed rgbkrk closed 5 months ago

rgbkrk commented 5 months ago

Part of this is a code cleanup to gate the tests behind cfg(test). The rest is to enable the async dispatcher macros for the tests (defining main and test macros for handling) and ensuring they aren't exposed for downstream use.

rgbkrk commented 5 months ago

Going to come back to this one to make test support a more general macro.