Registry / async / context

context

JSON →
library3.0.0rscratesunverified

Cooperative multitasking for Rust using Boost.Context.

# Cargo.toml [dependencies] context = "3.0.0"
INSTALL
IMPORT
SIG · CONTEXT
C
context
asyncrustv3.0.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.

Context
use context::Context;

Create and resume a cooperative multitasking context.

use context::Context; fn main() { let mut ctx = Context::new(|| { println!("Hello from context!"); }); ctx.resume(); }
Debug
Known issues
gotchaRequires Boost.Context system library
fix
Install Boost development libraries (e.g., libboost-context-dev on Debian/Ubuntu)
affects: >=3.0.0
Upgrade
Version history
3.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
37 hits · last 30 days
node
34
OpenAI (training)
1
Resources