Registry / networking / drain
library0.2.1rscratesunverified

A crate that supports graceful shutdown of services.

# Cargo.toml [dependencies] drain = "0.2.1"
INSTALL
IMPORT
SIG · DRAIN
D
drain
networkingrustv0.2.1
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.

Drain
use drain::Drain;

Creates a new drain for graceful shutdown.

use drain::Drain; fn main() { let drain = Drain::new(); println!("Drain created"); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
Amazon
1
OpenAI (training)
1
Resources
drain — cargo add drain · libregistry