[package] authors = ["Jon Musselwhite"] categories = ["asynchronous", "concurrency"] description = "Syntactic sugar for calling async functions outside of an async context." edition = "2021" keywords = ["async", "futures", "await", "blocking", "synchronization"] license = "MIT OR Apache-2.0" name = "wait" repository = "https://github.com/FlippingBinaryLLC/wait-rs" rust-version = "1.56.1" version = "0.2.5" exclude = [".gitignore", ".github", ".markdownlint.jsonc"] [features] default = ["std"] std = [] tokio = ["dep:tokio"] [dependencies.tokio] default-features = false features = ["rt"] optional = true version = "1" [lints.rust] unsafe_code = "deny" [badges] maintenance = { status = "passively-maintained" } [dev-dependencies] reqwest = "0.12" tokio = { version = "1", features = ["rt", "rt-multi-thread"] } [[example]] name = "when_tokio_is_required" required-features = ["tokio"]