[go: up one dir, main page]

poll-promise 0.3.0

Poll the result of an async operation in a game or immediate mode GUI.
Documentation
[dependencies.async-std]
optional = true
version = "1.12"

[dependencies.document-features]
version = "0.2"

[dependencies.smol]
optional = true
version = "1.2.5"

[dependencies.static_assertions]
version = "1.1"

[dependencies.tokio]
features = ["rt", "rt-multi-thread", "sync", "macros"]
optional = true
version = "1"

[dependencies.wasm-bindgen]
optional = true
version = "0.2"

[dependencies.wasm-bindgen-futures]
optional = true
version = "0.4"

[dev-dependencies.async-net]
version = "1.7.0"

[features]
async-std = ["dep:async-std"]
smol = ["dep:smol"]
smol_tick_poll = []
tokio = ["dep:tokio"]
web = ["wasm-bindgen", "wasm-bindgen-futures"]

[lib]

[package]
authors = ["Embark <opensource@embark-studios.com>"]
categories = ["asynchronous"]
description = "Poll the result of an async operation in a game or immediate mode GUI."
edition = "2021"
homepage = "https://github.com/EmbarkStudios/poll-promise"
include = ["LICENSE-APACHE", "LICENSE-MIT", "**/*.rs", "Cargo.toml"]
keywords = ["promise", "poll", "async", "gamedev", "gui"]
license = "MIT OR Apache-2.0"
name = "poll-promise"
readme = "README.md"
repository = "https://github.com/EmbarkStudios/poll-promise"
version = "0.3.0"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]