dag-executor 0.1.0

A production-ready DAG executor with state management and advanced patterns
Documentation
[package]
name = "dag-executor"
version = "0.1.0"
edition = "2021"
description = "A production-ready DAG executor with state management and advanced patterns"
authors = ["menjaraz <menjaraz@gmail.com>"]
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/my-LinkedIn/dag-executor"
homepage = "https://github.com/my-LinkedIn/dag-executor"
documentation = "https://docs.rs/dag-executor"
keywords = ["dag", "workflow", "task", "scheduler", "stateful"]
categories = ["asynchronous", "concurrency", "database-implementations"]
rust-version = "1.74"
# Keep the published crate lean: drop CI/ops/agent files that consumers don't
# need. Source, tests, examples and benches are retained as usage documentation.
exclude = [
    ".github/",
    "docker/",
    "CLAUDE.md",
    ".gitignore",
]

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

[[bin]]
name = "dag-executor"
path = "src/main.rs"

[dependencies]
tokio = { version = "1", features = ["full"] }
petgraph = "0.6"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
anyhow = "1"
thiserror = "1"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
uuid = { version = "1", features = ["v4", "serde"] }
sha2 = "0.10"
lru = "0.12"
async-trait = "0.1"
parking_lot = "0.12"
futures = "0.3"
rand = "0.8"
clap = { version = "4", features = ["derive"] }
# Optional: enabled by the `metrics` feature.
prometheus = { version = "0.13", optional = true }

[dev-dependencies]
tempfile = "3"
tokio-test = "0.4"
criterion = { version = "0.5", features = ["html_reports"] }

[features]
# NOTE: `tracing-subscriber` is kept non-optional (always compiled) because a
# Cargo feature cannot share the name of a non-optional dependency. Prometheus
# integration is the only thing gated behind a feature.
default = ["metrics"]
metrics = ["dep:prometheus"]

[[bench]]
name = "task_scheduling"
harness = false

[[bench]]
name = "throughput"
harness = false

[[bench]]
name = "state_persistence"
harness = false

[[bench]]
name = "memory_usage"
harness = false

[profile.release]
lto = true
codegen-units = 1
panic = "abort"

# Build docs on docs.rs with all features so feature-gated items (e.g. the
# Prometheus exporter) are documented, and enable `doc(cfg(...))` annotations
# via the `docsrs` cfg.
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]