[package]
name = "weavegraph"
version = "0.2.0"
edition = "2024"
description = "Graph-driven, concurrent agent workflow framework with versioned state, deterministic barrier merges, and rich diagnostics."
license = "MIT"
repository = "https://github.com/Idleness76/weavegraph"
readme = "../README.md"
keywords = ["graph", "workflow", "concurrency", "agents", "tracing"]
categories = ["concurrency", "data-structures", "algorithms"]
rust-version = "1.89"
homepage = "https://github.com/Idleness76/weavegraph"
documentation = "https://docs.rs/weavegraph"
[dev-dependencies]
async-stream = "0.3"
bytes = "1"
criterion = { version = "0.8", default-features = false, features = [
"async_tokio",
] }
reqwest = { version = "0.13", default-features = false, features = [
"json",
"rustls",
"stream",
] }
proptest = "1"
tempfile = "3"
tokio-rusqlite = { version = "0.6", features = ["bundled"] }
url = "2"
httpmock = "0.8"
axum = { version = "0.8", features = ["macros"] }
[dependencies]
miette = { version = "7", features = ["fancy"] }
thiserror = "2"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = [
"env-filter",
"fmt",
"ansi",
] }
tracing-error = "0.2"
tokio = { version = "1", features = [
"rt-multi-thread",
"macros",
"sync",
"time",
"signal",
"process",
"io-std",
] }
async-trait = "0.1"
futures-util = "0.3"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
rustc-hash = "2"
flume = "0.12"
chrono = { version = "0.4", features = ["serde"] }
uuid = { version = "1", features = ["v4"] }
rand = "0.10"
rig-core = { version = "0.30", features = ["rmcp"], optional = true }
rmcp = { version = "0.15", features = ["client"], optional = true }
sqlx = { version = "0.8", features = [
"runtime-tokio-rustls",
"sqlite",
"postgres",
"macros",
"uuid",
"chrono",
"json",
], optional = true }
dotenvy = "0.15"
petgraph = { version = "0.8", optional = true }
reqwest = { version = "0.13", default-features = false, features = [
"json",
"gzip",
"brotli",
"rustls",
], optional = true }
scraper = { version = "0.25", optional = true }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[package.metadata.cargo-machete]
ignored = ["httpmock", "rig-core", "rmcp", "scraper", "tokio-rusqlite", "url"]
[features]
default = ["sqlite-migrations"]
sqlite-migrations = ["sqlite"]
sqlite = ["sqlx"]
postgres-migrations = ["postgres"]
postgres = ["sqlx"]
llm = ["rig-core", "rmcp"]
examples = ["reqwest", "scraper"]
petgraph-compat = ["petgraph"]
[[bench]]
name = "event_bus_throughput"
harness = false
[[bench]]
name = "graph_compile"
harness = false