graphrt-core 0.2.0

Executor-agnostic graph runtime for agentic AI workflows: graph model, variable pool, scheduler, events, snapshots and built-in control nodes.
Documentation
[package]
name = "graphrt-core"
description = "Executor-agnostic graph runtime for agentic AI workflows: graph model, variable pool, scheduler, events, snapshots and built-in control nodes."
readme = "README.md"
documentation = "https://docs.rs/graphrt-core"
homepage = "https://github.com/BimaPangestu28/graphrt"
keywords = ["workflow", "agent", "llm", "runtime", "graph"]
categories = ["asynchronous", "development-tools", "wasm"]
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true

[features]
default = ["yaml", "jinja", "tokio"]
# Load workflow documents from YAML (pure Rust, wasm-friendly).
yaml = ["dep:serde-saphyr"]
# Jinja2-compatible template-transform node (sandboxed minijinja with fuel limits).
jinja = ["dep:minijinja"]
# Tokio-backed clock (timers for retries and timeouts). The engine itself never requires tokio.
tokio = ["dep:tokio", "tokio/time", "tokio/rt"]

[dependencies]
futures.workspace = true
thiserror.workspace = true
serde.workspace = true
serde_json.workspace = true
indexmap.workspace = true
minijinja = { workspace = true, optional = true }
serde-saphyr = { workspace = true, optional = true }
tokio = { workspace = true, optional = true }

[dev-dependencies]
tokio = { workspace = true, features = ["rt", "macros", "time"] }
futures = { workspace = true, features = ["executor"] }

[lints]
workspace = true

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