[package]
edition = "2024"
name = "dagrs"
version = "0.6.0"
authors = [
"Quanyi Ma <eli@patch.sh>",
"Xiaolong Fu <njufxl@gmail.com>",
"Zhilei Qiu <qzl2503687@gmail.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Dagrs follows the concept of Flow-based Programming and is suitable for the execution of multiple tasks with graph-like dependencies. Dagrs has the characteristics of high performance and asynchronous execution. It provides users with a convenient programming interface."
readme = "README.md"
keywords = [
"DAG",
"task",
"async",
"fbp",
"tokio",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/dagrs-dev/dagrs"
resolver = "2"
[features]
default = ["derive"]
derive = ["dagrs-derive/derive"]
[lib]
name = "dagrs"
path = "src/lib.rs"
[[example]]
name = "auto_node"
path = "examples/auto_node.rs"
required-features = ["derive"]
[[example]]
name = "auto_relay"
path = "examples/auto_relay.rs"
required-features = ["derive"]
[[example]]
name = "compute_dag"
path = "examples/compute_dag.rs"
[[example]]
name = "conditional_node"
path = "examples/conditional_node.rs"
[[example]]
name = "custom_node"
path = "examples/custom_node.rs"
[[example]]
name = "hello_dagrs"
path = "examples/hello_dagrs.rs"
[[example]]
name = "loop_dag"
path = "examples/loop_dag.rs"
[[example]]
name = "recv_any_example"
path = "examples/recv_any_example.rs"
[[example]]
name = "typed_action"
path = "examples/typed_action.rs"
[[test]]
name = "branch_pruning_test"
path = "tests/branch_pruning_test.rs"
[[test]]
name = "chain_skip_test"
path = "tests/chain_skip_test.rs"
[[test]]
name = "checkpoint_test"
path = "tests/checkpoint_test.rs"
[[test]]
name = "event_test"
path = "tests/event_test.rs"
[[test]]
name = "hook_test"
path = "tests/hook_test.rs"
[[test]]
name = "loop_reset_test"
path = "tests/loop_reset_test.rs"
[[test]]
name = "router_merge_test"
path = "tests/router_merge_test.rs"
[[test]]
name = "router_reuse_test"
path = "tests/router_reuse_test.rs"
[[test]]
name = "typed_channel_test"
path = "tests/typed_channel_test.rs"
[[test]]
name = "v2_test"
path = "tests/v2_test.rs"
[dependencies.async-trait]
version = "0.1.89"
[dependencies.dagrs-derive]
version = "0.4.3"
[dependencies.futures]
version = "0.3.31"
[dependencies.log]
version = "0.4.28"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.145"
[dependencies.tokio]
version = "1.48.0"
features = [
"full",
"rt",
"sync",
"rt-multi-thread",
"time",
]
[dev-dependencies.criterion]
version = "0.5.1"
features = ["html_reports"]
[dev-dependencies.env_logger]
version = "0.11.6"
[target."cfg(unix)".dev-dependencies]