bevy_async_task 0.12.0

Ergonomic abstractions to async programming in Bevy
Documentation
# 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 = "2024"
name = "bevy_async_task"
version = "0.12.0"
authors = ["Spencer C. Imbleau"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ergonomic abstractions to async programming in Bevy"
readme = "README.md"
keywords = [
    "gamedev",
    "async",
]
categories = [
    "game-development",
    "asynchronous",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/loopystudios/bevy_async_task"
resolver = "2"

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

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

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

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

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

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

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

[dependencies.bevy_ecs]
version = "0.18"
features = [
    "multi_threaded",
    "async_executor",
]
default-features = false

[dependencies.bevy_platform]
version = "0.18"
default-features = false

[dependencies.bevy_tasks]
version = "0.18"
features = ["async_executor"]
default-features = false

[dependencies.futures]
version = "0.3.31"

[dependencies.thiserror]
version = "2.0.17"

[dependencies.web-time]
version = "1.1.0"

[dev-dependencies.bevy]
version = "0.18"
features = [
    "multi_threaded",
    "bevy_log",
]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.async-compat]
version = "0.2.5"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.futures-timer]
version = "3.0.3"

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.tokio]
version = "1.48.0"
features = ["full"]

[target.'cfg(target_arch = "wasm32")'.dependencies.futures-timer]
version = "3.0.3"
features = ["wasm-bindgen"]

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.3.4"
features = ["wasm_js"]

[target.'cfg(target_arch = "wasm32")'.dependencies.gloo-timers]
version = "0.3.0"
features = ["futures"]

[target.'cfg(target_arch = "wasm32")'.dev-dependencies.js-sys]
version = "0.3.83"

[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen]
version = "0.2.106"

[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-futures]
version = "0.4.56"

[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test]
version = "0.3.56"

[lints.clippy]
allow_attributes_without_reason = "warn"
cargo_common_metadata = "warn"
cast_possible_truncation = "warn"
collection_is_never_read = "warn"
dbg_macro = "warn"
debug_assert_with_mut_call = "warn"
doc_markdown = "warn"
fn_to_numeric_cast_any = "warn"
infinite_loop = "warn"
large_stack_arrays = "warn"
mismatching_type_param_order = "warn"
missing_assert_message = "warn"
missing_fields_in_debug = "warn"
negative_feature_names = "warn"
redundant_feature_names = "warn"
same_functions_in_if_condition = "warn"
semicolon_if_nothing_returned = "warn"
should_panic_without_expect = "warn"
todo = "warn"
too_many_arguments = "allow"
unseparated_literal_suffix = "warn"
use_self = "warn"
wildcard_dependencies = "warn"

[lints.rust]
elided_lifetimes_in_paths = "warn"
keyword_idents_2024 = "forbid"
missing_debug_implementations = "warn"
missing_docs = "warn"
non_ascii_idents = "forbid"
non_local_definitions = "forbid"
trivial_numeric_casts = "warn"
unnameable_types = "warn"
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "forbid"
unused_import_braces = "warn"
unused_lifetimes = "warn"
unused_macro_rules = "warn"