egui-async 0.2.3

A simple library for running async tasks in egui and binding their results to your UI.
Documentation
[dependencies.atomic_float]
version = "1"

[dependencies.egui]
optional = true
version = "0.33"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.eframe]
version = "0.33.0"

[dev-dependencies.rand]
version = "0.9.2"

[dev-dependencies.reqwest]
features = ["json"]
version = "0.12.24"

[dev-dependencies.serde_json]
version = "1.0.145"

[dev-dependencies.walkers]
version = "0.48.0"

[[example]]
name = "advanced"
path = "examples/advanced.rs"

[[example]]
name = "periodic"
path = "examples/periodic.rs"

[[example]]
name = "simple"
path = "examples/simple.rs"

[features]
default = ["egui"]
egui = ["dep:egui"]

[lib]
name = "egui_async"
path = "src/lib.rs"

[lints.clippy]
panic = "deny"
todo = "deny"
unwrap_used = "deny"

[package]
authors = ["Cody Wyatt Neiman (xangelix) <neiman@cody.to>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["gui", "asynchronous", "wasm", "concurrency", "web-programming"]
description = "A simple library for running async tasks in egui and binding their results to your UI."
documentation = "https://docs.rs/egui-async"
edition = "2024"
keywords = ["egui", "async", "future", "gui", "ui"]
license = "MIT OR Apache-2.0"
name = "egui-async"
readme = "README.md"
repository = "https://github.com/xangelix/egui-async"
version = "0.2.3"

[target.'cfg(not(target_family = "wasm"))'.dependencies.tokio]
default-features = false
features = ["sync", "rt-multi-thread"]
version = "1"

[target.'cfg(target_family = "wasm")'.dependencies.tokio]
default-features = false
features = ["sync"]
version = "1"

[target.'cfg(target_family = "wasm")'.dependencies.wasm-bindgen-futures]
version = "0.4"

[[test]]
name = "bind_state_api"
path = "tests/bind_state_api.rs"

[[test]]
name = "bind_transitions"
path = "tests/bind_transitions.rs"