[package]
edition = "2024"
name = "async-nodes"
version = "0.1.0"
authors = ["Cody Wyatt Neiman (xangelix) <neiman@cody.to>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An asynchronous, type-safe node engine implementing the Bulk Synchronous Parallel (BSP) model: control-flow loops, recovery, suspension, and serializable graphs, with dataflow-once pipelines as a profile."
documentation = "https://docs.rs/async-nodes"
readme = "README.md"
keywords = [
"bsp",
"dataflow",
"async",
"graph",
"node",
]
categories = [
"asynchronous",
"concurrency",
"algorithms",
"data-structures",
"rust-patterns",
]
license = "MIT"
repository = "https://github.com/xangelix/async-nodes"
[features]
default = ["tokio-blocking"]
tokio-blocking = ["tokio"]
[lib]
name = "async_nodes"
path = "src/lib.rs"
[[example]]
name = "agentic_deploy"
path = "examples/agentic_deploy.rs"
[[example]]
name = "newton_sqrt"
path = "examples/newton_sqrt.rs"
[[example]]
name = "quickstart"
path = "examples/quickstart.rs"
[[test]]
name = "test_core"
path = "tests/test_core.rs"
[[test]]
name = "test_dataflow"
path = "tests/test_dataflow.rs"
required-features = ["tokio-blocking"]
[[test]]
name = "test_def"
path = "tests/test_def.rs"
[[test]]
name = "test_loops"
path = "tests/test_loops.rs"
[[test]]
name = "test_merge"
path = "tests/test_merge.rs"
[[test]]
name = "test_profile"
path = "tests/test_profile.rs"
[[test]]
name = "test_recovery"
path = "tests/test_recovery.rs"
[dependencies.async-nodes-macros]
version = "0.1.0"
[dependencies.async-trait]
version = "0.1"
[dependencies.futures-util]
version = "0.3"
[dependencies.indexmap]
version = "2"
features = ["serde"]
[dependencies.parking_lot]
version = "0.12"
features = ["hardware-lock-elision"]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"sync",
"time",
]
optional = true
[dependencies.tracing]
version = "0.1"
[dependencies.typemap_rev]
version = "0.4"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"sync",
"time",
]