Registry / async / cogo
library0.1.36rscratesunverified

A Rust coroutine library inspired by Go's goroutines.

# Cargo.toml [dependencies] cogo = "0.1.36"
INSTALL
IMPORT
SIG · COGO
C
cogo
asyncrustv0.1.36
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.

Coroutine
use cogo::coroutine::Coroutine;

Creates and runs a coroutine

use cogo::coroutine::Coroutine; fn main() { let co = Coroutine::new(|| { println!("Hello from coroutine!"); }); co.join().unwrap(); }
Debug
Known issues
gotchaRequires nightly Rust due to coroutine features
fix
Use rustup override set nightly or add +nightly to cargo commands
affects: >=0.1.0
Upgrade
Version history
0.1.36latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
32 hits · last 30 days
node
29
Resources
cogo — cargo add cogo · libregistry