edge-executor 0.5.0

Async executor suitable for embedded environments.
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 = "edge-executor"
version = "0.5.0"
authors = ["Ivan Markov <ivan.markov@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async executor suitable for embedded environments."
readme = "README.md"
keywords = [
    "embedded",
    "async",
    "executor",
]
categories = [
    "embedded",
    "hardware-support",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ivmarkov/edge-executor"

[features]
critical-section = [
    "once_cell/critical-section",
    "portable-atomic?/critical-section",
]
default = ["std"]
portable-atomic = [
    "dep:portable-atomic",
    "portable-atomic-util",
    "heapless/portable-atomic",
    "atomic-waker/portable-atomic",
    "async-task/portable-atomic",
]
std = [
    "futures-lite/std",
    "once_cell/std",
]

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

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

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

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

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

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

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

[[bench]]
name = "executor"
path = "benches/executor.rs"
harness = false

[dependencies.async-task]
version = "4.4.5"
default-features = false

[dependencies.atomic-waker]
version = "1"
default-features = false

[dependencies.embassy-sync]
version = "0.7"
default-features = false

[dependencies.futures-lite]
version = "1"
default-features = false

[dependencies.heapless]
version = "0.9"
default-features = false

[dependencies.once_cell]
version = "1.18"
default-features = false

[dependencies.portable-atomic]
version = "1.4"
optional = true

[dependencies.portable-atomic-util]
version = "0.1"
features = ["alloc"]
optional = true
default-features = false

[dev-dependencies.async-channel]
version = "1.4.1"

[dev-dependencies.async-io]
version = "1.1.9"

[dev-dependencies.criterion]
version = "0.4.0"
features = ["cargo_bench_support"]
default-features = false

[dev-dependencies.critical-section]
version = "1"
features = ["std"]

[dev-dependencies.easy-parallel]
version = "3.1.0"

[dev-dependencies.fastrand]
version = "2.0.0"

[dev-dependencies.once_cell]
version = "1.18.0"