async-deferred 0.4.0

A lightweight utility for spawning async tasks with fire-and-forget semantics and deferred result retrieval.
Documentation
1
2
3
4
5
6
7
8
//! Mistakes that must be reported with a clear compiler error.

/// Without `alloc`, `embassy_spawner!` explains what is missing.
#[cfg(not(feature = "alloc"))]
#[test]
fn embassy_spawner_without_alloc() {
    trybuild::TestCases::new().compile_fail("tests/ui/embassy_spawner_without_alloc.rs");
}