takeln 0.11.0

Typed Rust runtime for durable DAG-based agent workflows
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 = "2021"
rust-version = "1.75.0"
name = "takeln"
version = "0.11.0"
authors = ["NMA (New Model Agents) <hello@nma.vc>"]
build = false
exclude = [
    "benches/",
    "tests/",
    ".github/",
    ".cargo/",
    "deny.toml",
    "clippy.toml",
    "rustfmt.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Typed Rust runtime for durable DAG-based agent workflows"
homepage = "https://github.com/NMA-vc/takeln"
documentation = "https://docs.rs/takeln"
readme = "README.md"
keywords = [
    "agents",
    "dag",
    "agentic",
    "ai",
    "orchestration",
]
categories = [
    "asynchronous",
    "concurrency",
]
license = "Apache-2.0"
repository = "https://github.com/NMA-vc/takeln"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = []
postgres = [
    "dep:sqlx-core",
    "dep:sqlx-postgres",
]
sqlite = ["dep:rusqlite"]

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

[[example]]
name = "conditional_routing"
path = "examples/conditional_routing.rs"

[[example]]
name = "crash_resume"
path = "examples/crash_resume.rs"

[[example]]
name = "dag_builder"
path = "examples/dag_builder.rs"

[[example]]
name = "dynamic_orchestration"
path = "examples/dynamic_orchestration.rs"

[[example]]
name = "hitl_approval"
path = "examples/hitl_approval.rs"

[[example]]
name = "llm_call"
path = "examples/llm_call.rs"

[[example]]
name = "loop_until_valid"
path = "examples/loop_until_valid.rs"

[[example]]
name = "parallel_nodes"
path = "examples/parallel_nodes.rs"

[[example]]
name = "simple_chain"
path = "examples/simple_chain.rs"

[[example]]
name = "with_checkpointing"
path = "examples/with_checkpointing.rs"

[dependencies.async-trait]
version = "0.1"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.hex]
version = "0.4"

[dependencies.rand]
version = "0.8"

[dependencies.rusqlite]
version = "0.32"
features = ["bundled"]
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.sqlx-core]
version = "0.8"
features = [
    "json",
    "chrono",
]
optional = true
default-features = false

[dependencies.sqlx-postgres]
version = "0.8"
features = [
    "json",
    "chrono",
    "uuid",
]
optional = true
default-features = false

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "sync",
    "time",
]

[dependencies.tokio-util]
version = "0.7"

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1.0"
features = [
    "v4",
    "v5",
    "serde",
]

[dev-dependencies.criterion]
version = "0.5"
features = ["async_tokio"]

[dev-dependencies.proptest]
version = "1"