[package] name = "async-gate" version = "0.3.1" license = "MIT OR Apache-2.0" readme = "README.md" authors = ["J / Jacob Babich "] edition = "2021" description = "A Tokio-powered asynchronous gate (analogous to a flag and highly inspired by Python's `asyncio.Event`, but can be waited for to become 'false' too)" categories = ["asynchronous", "concurrency"] keywords = ["gate", "flag", "async", "tokio", "event"] repository = "https://github.com/babichjacob/async-gate" [dependencies] thiserror = "1.0.1" tokio = { version = "1.28", features = ["sync"] } [dev-dependencies] tokio = { version = "1.28", features = ["rt", "macros"] } tokio-test = { version = "0.4" }