Registry / async / async-dup

async-dup

JSON →
library1.2.4rscratesunverified

Duplicate an async I/O handle.

# Cargo.toml [dependencies] async-dup = "1.2.4"
INSTALL
IMPORT
SIG · ASYNC-DUP
A
async-dup
asyncrustv1.2.4
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.

Arc
use async_dup::Arc;

Duplicates an async I/O handle using Arc.

use async_dup::Arc; use async_std::io::stdin; fn main() { let handle = Arc::new(stdin()); println!("Duplicated async handle"); }
Debug
Known issues
gotchaRequires an async runtime like async-std or smol
fix
Add async-std or smol as a dependency
affects: >=1.0.0
Upgrade
Version history
1.2.4latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
42 hits · last 30 days
node
36
Resources
async-dup — cargo add async-dup · libregistry