Expand description
Augment the development of primitives with procedural macros.
This crate provides:
select!- Biased async select over multiple futures (requiresstdfeature)select_loop!- Continuous select loop with shutdown handling (requiresstdfeature)stability,stability_mod!,stability_scope!- API stability annotationstest_async,test_traced,test_collect_traces- Test utilitiestest_group- Nextest filter group annotations
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.
- stability_
mod - Marks a module with a stability level.
- stability_
scope - Marks all items within a scope with a stability level and optional cfg predicate.
Attribute Macros§
- stability
- Marks an item with a stability level.
- 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.