async-deferred 0.3.0

A lightweight utility for spawning async tasks with fire-and-forget semantics and deferred result retrieval.
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 = "2021"
name = "async-deferred"
version = "0.3.0"
authors = ["Azy"]
build = false
exclude = ["embassy-esp32s3"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightweight utility for spawning async tasks with fire-and-forget semantics and deferred result retrieval."
homepage = "https://github.com/I-Azy-I/async-deferred"
documentation = "https://docs.rs/async-deferred"
readme = "README.md"
keywords = [
    "async",
    "deferred",
    "task",
    "utility",
    "tokio",
]
categories = [
    "asynchronous",
    "concurrency",
    "data-structures",
    "no-std",
    "embedded",
]
license = "MIT"
repository = "https://github.com/I-Azy-I/async-deferred"

[package.metadata.docs.rs]
all-features = true

[features]
default = [
    "std",
    "tokio",
]
smol = [
    "std",
    "dep:smol",
]
std = ["futures-util/std"]
tokio = [
    "std",
    "dep:tokio",
]

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

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

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

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

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

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

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

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

[dependencies.futures-channel]
version = "0.3"
features = ["alloc"]
default-features = false

[dependencies.futures-util]
version = "0.3"
features = ["alloc"]
default-features = false

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

[dependencies.tokio]
version = "1"
features = ["rt"]
optional = true

[dev-dependencies.futures-executor]
version = "0.3"

[dev-dependencies.proptest]
version = "1"

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

[dev-dependencies.tokio-test]
version = "0.4"