Registry / async / garcon

garcon

JSON →
library0.2.3rscratesunverified

A collection of traits and utilities to make your thread or async function wait (e.g., delays, timeouts).

# Cargo.toml [dependencies] garcon = "0.2.3"
INSTALL
IMPORT
SIG · GARCON
G
garcon
asyncrustv0.2.3
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.

Delay
use garcon::Delay;

Create a delay and wait for the specified duration.

use garcon::Delay; use std::time::Duration; fn main() { let delay = Delay::new(Duration::from_secs(1)); delay.wait(); println!("Waited 1 second"); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.3latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
31 hits · last 30 days
node
28
OpenAI (training)
1
Resources
garcon — cargo add garcon · libregistry