[package]
name = "weavegraph"
version = "0.1.2"
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.7"
criterion = { version = "0.5", default-features = false, features = [
"async_tokio",
] }
reqwest = { version = "0.12", default-features = false, features = [
"json",
"rustls-tls",
"stream",
] }
proptest = "1"
tempfile = "3"
tokio-rusqlite = { version = "0.6", features = ["bundled"] }
url = "2"
httpmock = "0.7"
axum = { version = "0.7", features = ["macros"] }
[dependencies]
miette = { version = "7.6", 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.1"
flume = "0.11"
parking_lot = "0.12"
chrono = { version = "0.4", features = ["serde"] }
uuid = { version = "1", features = ["v4"] }
rand = "0.9"
rig-core = { version = "0.24.0", features = ["rmcp"], optional = true }
rmcp = { version = "0.8", features = ["client"], optional = true }
sqlx = { version = "0.8", features = [
"runtime-tokio-rustls",
"sqlite",
"macros",
"uuid",
"chrono",
"json",
], optional = true }
dotenvy = "0.15"
reqwest = { version = "0.12", default-features = false, features = [
"json",
"gzip",
"brotli",
"rustls-tls",
], optional = true }
scraper = { version = "0.24", optional = true }
wg-ragsmith = { version = "0.1.2", optional = true }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = ["sqlite-migrations"]
sqlite-migrations = ["sqlite"]
sqlite = ["sqlx"]
llm = ["rig-core", "rmcp"]
examples = ["reqwest", "scraper", "wg-ragsmith"]
[[example]]
name = "demo3"
required-features = ["llm"]
[[example]]
name = "demo4"
required-features = ["llm"]
[[example]]
name = "demo5_rag"
required-features = ["llm", "examples"]
[[example]]
name = "cap_demo"
required-features = ["llm"]
[[example]]
name = "demo6_agent_mcp"
required-features = ["llm"]
[lints.clippy]
manual_string_new = "warn"
new_without_default = "warn"
missing_errors_doc = "allow"
module_name_repetitions = "allow"
too_many_lines = "allow"