# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.56.1" name = "wait" version = "0.2.5" authors = ["Jon Musselwhite"] build = false exclude = [ ".gitignore", ".github", ".markdownlint.jsonc", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Syntactic sugar for calling async functions outside of an async context." readme = "README.md" keywords = [ "async", "futures", "await", "blocking", "synchronization", ] categories = [ "asynchronous", "concurrency", ] license = "MIT OR Apache-2.0" repository = "https://github.com/FlippingBinaryLLC/wait-rs" [lib] name = "wait" path = "src/lib.rs" [[example]] name = "basic" path = "examples/basic.rs" [[example]] name = "when_tokio_is_required" path = "examples/when_tokio_is_required.rs" required-features = ["tokio"] [dependencies.tokio] version = "1" features = ["rt"] optional = true default-features = false [dev-dependencies.reqwest] version = "0.12" [dev-dependencies.tokio] version = "1" features = [ "rt", "rt-multi-thread", ] [features] default = ["std"] std = [] tokio = ["dep:tokio"] [badges.maintenance] status = "passively-maintained" [lints.rust] unsafe_code = "deny"