[package]
edition = "2024"
rust-version = "1.89"
name = "weavegraph"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Graph-driven, concurrent agent workflow framework with versioned state, deterministic barrier merges, and rich diagnostics."
homepage = "https://github.com/Idleness76/weavegraph"
documentation = "https://docs.rs/weavegraph"
readme = "README.md"
keywords = [
"graph",
"workflow",
"concurrency",
"agents",
"tracing",
]
categories = [
"concurrency",
"data-structures",
"algorithms",
]
license = "MIT"
repository = "https://github.com/Idleness76/weavegraph"
resolver = "2"
[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"]
examples = [
"reqwest",
"scraper",
]
llm = [
"rig-core",
"rmcp",
]
petgraph-compat = ["petgraph"]
postgres = ["sqlx"]
postgres-migrations = ["postgres"]
sqlite = ["sqlx"]
sqlite-migrations = ["sqlite"]
[lib]
name = "weavegraph"
path = "src/lib.rs"
[[example]]
name = "advanced_patterns"
path = "examples/advanced_patterns.rs"
[[example]]
name = "basic_nodes"
path = "examples/basic_nodes.rs"
[[example]]
name = "convenience_streaming"
path = "examples/convenience_streaming.rs"
[[example]]
name = "demo1"
path = "examples/demo1.rs"
[[example]]
name = "demo2"
path = "examples/demo2.rs"
[[example]]
name = "errors_pretty"
path = "examples/errors_pretty.rs"
[[example]]
name = "event_backpressure"
path = "examples/event_backpressure.rs"
[[example]]
name = "json_serialization"
path = "examples/json_serialization.rs"
[[example]]
name = "streaming_events"
path = "examples/streaming_events.rs"
[[test]]
name = "app"
path = "tests/app.rs"
[[test]]
name = "channels"
path = "tests/channels.rs"
[[test]]
name = "event_bus"
path = "tests/event_bus.rs"
[[test]]
name = "event_bus_diagnostics"
path = "tests/event_bus_diagnostics.rs"
[[test]]
name = "event_bus_stress"
path = "tests/event_bus_stress.rs"
[[test]]
name = "graphs"
path = "tests/graphs.rs"
[[test]]
name = "graphs_property"
path = "tests/graphs_property.rs"
[[test]]
name = "messages"
path = "tests/messages.rs"
[[test]]
name = "nodes"
path = "tests/nodes.rs"
[[test]]
name = "reducers"
path = "tests/reducers.rs"
[[test]]
name = "runtimes_checkpointers"
path = "tests/runtimes_checkpointers.rs"
[[test]]
name = "runtimes_concurrent"
path = "tests/runtimes_concurrent.rs"
[[test]]
name = "runtimes_persistence"
path = "tests/runtimes_persistence.rs"
[[test]]
name = "runtimes_persistence_postgres"
path = "tests/runtimes_persistence_postgres.rs"
[[test]]
name = "runtimes_persistence_sqlite"
path = "tests/runtimes_persistence_sqlite.rs"
[[test]]
name = "runtimes_runner"
path = "tests/runtimes_runner.rs"
[[test]]
name = "runtimes_types"
path = "tests/runtimes_types.rs"
[[test]]
name = "schedulers"
path = "tests/schedulers.rs"
[[test]]
name = "smoke"
path = "tests/smoke.rs"
[[test]]
name = "state_channels"
path = "tests/state_channels.rs"
[[test]]
name = "streaming_sse"
path = "tests/streaming_sse.rs"
[[test]]
name = "telemetry"
path = "tests/telemetry.rs"
[[test]]
name = "types"
path = "tests/types.rs"
[[test]]
name = "utils"
path = "tests/utils.rs"
[[bench]]
name = "event_bus_throughput"
path = "benches/event_bus_throughput.rs"
harness = false
[[bench]]
name = "graph_compile"
path = "benches/graph_compile.rs"
harness = false
[dependencies.async-trait]
version = "0.1"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.dotenvy]
version = "0.15"
[dependencies.flume]
version = "0.12"
[dependencies.futures-util]
version = "0.3"
[dependencies.miette]
version = "7"
features = ["fancy"]
[dependencies.petgraph]
version = "0.8"
optional = true
[dependencies.rand]
version = "0.10"
[dependencies.reqwest]
version = "0.13"
features = [
"json",
"gzip",
"brotli",
"rustls",
]
optional = true
default-features = false
[dependencies.rig-core]
version = "0.30"
features = ["rmcp"]
optional = true
[dependencies.rmcp]
version = "0.15"
features = ["client"]
optional = true
[dependencies.rustc-hash]
version = "2"
[dependencies.scraper]
version = "0.25"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sqlx]
version = "0.8"
features = [
"runtime-tokio-rustls",
"sqlite",
"postgres",
"macros",
"uuid",
"chrono",
"json",
]
optional = true
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"sync",
"time",
"signal",
"process",
"io-std",
]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-error]
version = "0.2"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"fmt",
"ansi",
]
[dependencies.uuid]
version = "1"
features = ["v4"]
[dev-dependencies.async-stream]
version = "0.3"
[dev-dependencies.axum]
version = "0.8"
features = ["macros"]
[dev-dependencies.bytes]
version = "1"
[dev-dependencies.criterion]
version = "0.8"
features = ["async_tokio"]
default-features = false
[dev-dependencies.httpmock]
version = "0.8"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.reqwest]
version = "0.13"
features = [
"json",
"rustls",
"stream",
]
default-features = false
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio-rusqlite]
version = "0.6"
features = ["bundled"]
[dev-dependencies.url]
version = "2"