docs.rs failed to build anyspawn-0.5.4
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
anyspawn-0.5.5
Anyspawn
A generic task spawner compatible with any async runtime.
This crate provides a Spawner type that abstracts task spawning across
different async runtimes without generic infection.
Design Philosophy
- Concrete type: No generics needed in your code
- Simple: Use built-in constructors or implement
SpawnCustom - Layered: Compose middleware closures via
CustomSpawnerBuilder - Flexible: Works with any async runtime
Quick Start
Using Tokio
use Spawner;
let spawner = new_tokio;
let result = spawner.spawn.await;
assert_eq!;
Thread-Aware Support
Spawner implements ThreadAware and supports
per-core isolation via custom SpawnCustom implementations, enabling
contention-free, NUMA-friendly task dispatch.
Features
tokio: Enables theSpawner::new_tokioandSpawner::new_tokio_with_handleconstructors