[package]
edition = "2024"
name = "node-flow"
version = "0.2.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Runtime-agnostic, asynchronous node-based framework for building composable flows"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/HANDZCZ/node-flow"
[package.metadata.docs.rs]
all-features = true
[features]
boxed_node = ["dep:async-trait"]
d2describer = [
"describe_get_name_simple",
"dep:rand",
]
default = [
"storage_impls",
"d2describer",
]
describe_get_name_simple = ["dep:tynm"]
local_storage_impl = []
shared_storage_impl = ["dep:async-lock"]
storage_impls = [
"local_storage_impl",
"shared_storage_impl",
]
[lib]
name = "node_flow"
path = "src/lib.rs"
[[test]]
name = "test"
path = "tests/test.rs"
[[test]]
name = "trait_bounds"
path = "tests/trait_bounds.rs"
[dependencies.async-lock]
version = "^3.4.1"
optional = true
[dependencies.async-trait]
version = "^0.1.89"
optional = true
[dependencies.futures-util]
version = "^0.3.31"
default-features = false
[dependencies.rand]
version = "^0.9.2"
optional = true
[dependencies.tynm]
version = "^0.2.0"
optional = true
[dev-dependencies.tokio]
version = "^1.48.0"
features = ["full"]