graphrt-core 0.1.0

Executor-agnostic graph runtime for agentic AI workflows: graph model, variable pool, scheduler, events, snapshots and built-in control nodes.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "graphrt-core"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Executor-agnostic graph runtime for agentic AI workflows: graph model, variable pool, scheduler, events, snapshots and built-in control nodes."
homepage = "https://github.com/BimaPangestu28/graphrt"
documentation = "https://docs.rs/graphrt-core"
readme = "README.md"
keywords = [
    "workflow",
    "agent",
    "llm",
    "runtime",
    "graph",
]
categories = [
    "asynchronous",
    "development-tools",
    "wasm",
]
license = "Apache-2.0"
repository = "https://github.com/BimaPangestu28/graphrt"

[features]
default = [
    "yaml",
    "jinja",
    "tokio",
]
jinja = ["dep:minijinja"]
tokio = [
    "dep:tokio",
    "tokio/time",
    "tokio/rt",
]
yaml = ["dep:serde-saphyr"]

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

[[test]]
name = "e2e_core"
path = "tests/e2e_core.rs"

[[test]]
name = "engine_flow"
path = "tests/engine_flow.rs"

[[test]]
name = "engine_regressions"
path = "tests/engine_regressions.rs"

[[test]]
name = "engine_scaling"
path = "tests/engine_scaling.rs"

[[test]]
name = "nodes_registry"
path = "tests/nodes_registry.rs"

[[test]]
name = "response_assembler"
path = "tests/response_assembler.rs"

[[bench]]
name = "engine"
path = "benches/engine.rs"
harness = false

[dependencies.futures]
version = "0.3"
features = [
    "std",
    "async-await",
]
default-features = false

[dependencies.indexmap]
version = "2"
features = ["serde"]

[dependencies.minijinja]
version = "3"
features = [
    "builtins",
    "serde",
    "json",
    "fuel",
    "macros",
    "multi_template",
]
optional = true
default-features = false

[dependencies.serde]
version = "1"
features = [
    "derive",
    "rc",
]

[dependencies.serde-saphyr]
version = "2"
optional = true

[dependencies.serde_json]
version = "1"
features = ["preserve_order"]

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
optional = true
default-features = false

[dev-dependencies.futures]
version = "0.3"
features = [
    "std",
    "async-await",
    "executor",
]
default-features = false

[dev-dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
    "time",
]
default-features = false

[lints.clippy]
dbg_macro = "deny"
expect_used = "deny"
indexing_slicing = "warn"
panic = "deny"
print_stdout = "warn"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"

[lints.rust]
missing_debug_implementations = "warn"
unsafe_code = "forbid"

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1