Crate commonware_macros

Crate commonware_macros 

Source
Expand description

Augment the development of primitives with procedural macros.

Macros§

select
Select the first future that completes (biased by order).
select_loop
Convenience macro to continuously select! over a set of futures in biased order, with a required shutdown handler.

Attribute Macros§

test_async
Run a test function asynchronously.
test_collect_traces
Capture logs from a test run into an in-memory store.
test_group
Prefix a test name with a nextest filter group.
test_traced
Capture logs (based on the provided log level) from a test run using libtest’s output capture functionality.