Registry / async / async-ctrlc

async-ctrlc

JSON →
library1.2.0rscratesunverified

Async wrapper of the `ctrlc` crate for handling Ctrl+C signals in async contexts.

# Cargo.toml [dependencies] async-ctrlc = "1.2.0"
INSTALL
IMPORT
SIG · ASYNC-CTRLC
A
async-ctrlc
asyncrustv1.2.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.

CtrlC
use async_ctrlc::CtrlC;

Wait for Ctrl+C signal asynchronously.

use async_ctrlc::CtrlC; let ctrlc = CtrlC::new().await; println!("Ctrl+C received");
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
51 hits · last 30 days
node
44
OpenAI (training)
1
Resources
async-ctrlc — cargo add async-ctrlc · libregistry