Registry / async / background-jobs

background-jobs

JSON →
library0.20.0rscratesunverified

Asynchronous background jobs implemented with pluggable backends and runtimes.

# Cargo.toml [dependencies] background-jobs = "0.20.0"
INSTALL
IMPORT
SIG · BACKGROUND-JOBS
B
background-jobs
asyncrustv0.20.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Job
use background_jobs::Job;

Create a new background job.

use background_jobs::Job; fn main() { let job = Job::new("my_job", ()); println!("Background job created"); }
Debug
Known issues
gotchaRequires an async runtime (e.g., tokio) to execute jobs.
fix
Add tokio as a dependency and use #[tokio::main].
affects: all
Upgrade
Version history
0.20.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
47 hits · last 30 days
node
40
OpenAI (training)
1
Resources
background-jobs — cargo add background-jobs · libregistry