[package]
edition = "2021"
rust-version = "1.85"
name = "laputa-async-task"
version = "0.3.0"
authors = ["Stjepan Glavina <stjepang@gmail.com>"]
build = false
exclude = ["/.*"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Task abstraction for building executors"
readme = "README.md"
keywords = [
"futures",
"task",
"executor",
"spawn",
]
categories = [
"asynchronous",
"concurrency",
"no-std",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/laputa-systems/smolith"
[features]
default = ["std"]
std = []
[lib]
name = "async_task"
path = "src/lib.rs"
[[example]]
name = "spawn"
path = "examples/spawn.rs"
[[example]]
name = "spawn-local"
path = "examples/spawn-local.rs"
[[example]]
name = "spawn-on-thread"
path = "examples/spawn-on-thread.rs"
[[example]]
name = "with-metadata"
path = "examples/with-metadata.rs"
[[test]]
name = "basic"
path = "tests/basic.rs"
[[test]]
name = "cancel"
path = "tests/cancel.rs"
[[test]]
name = "detach_panic"
path = "tests/detach_panic.rs"
[[test]]
name = "join"
path = "tests/join.rs"
[[test]]
name = "local_task"
path = "tests/local_task.rs"
[[test]]
name = "metadata"
path = "tests/metadata.rs"
[[test]]
name = "panic"
path = "tests/panic.rs"
[[test]]
name = "ready"
path = "tests/ready.rs"
[[test]]
name = "schedule_lifetime"
path = "tests/schedule_lifetime.rs"
[[test]]
name = "waker_identity"
path = "tests/waker_identity.rs"
[[test]]
name = "waker_panic"
path = "tests/waker_panic.rs"
[[test]]
name = "waker_pending"
path = "tests/waker_pending.rs"
[[test]]
name = "waker_ready"
path = "tests/waker_ready.rs"
[[bench]]
name = "spawn"
path = "benches/spawn.rs"
[dependencies.portable-atomic]
version = "1"
optional = true
default-features = false
[dev-dependencies.flaky_test]
version = "0.2"
[dev-dependencies.flume]
version = "0.12"
default-features = false
[dev-dependencies.once_cell]
version = "1"
[dev-dependencies.pin-project-lite]
version = "0.2.10"