embedded-timeout-macros is a crate that contains macros designed to work with timeouts on top of embedded-hal APIs. Check out the the documentation for some usage examples ([1], [2]).

These macros grew out of my work on the dw1000 / dwm1001 crates, and are used in the more complex examples in the DWM1001 repository ([1], [2]).

If you have any questions or suggestions, feel free to comment here, open issues and pull requests in the GitHub repository, or contact me via email at hanno@braun-robotics.com.