weavegraph 0.1.3

Graph-driven, concurrent agent workflow framework with versioned state, deterministic barrier merges, and rich diagnostics.
[[bench]]
name = "event_bus_throughput"
path = "benches/event_bus_throughput.rs"

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

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

[dependencies.dotenvy]
version = "0.15"

[dependencies.flume]
version = "0.11"

[dependencies.futures-util]
version = "0.3"

[dependencies.miette]
features = ["fancy"]
version = "7.6"

[dependencies.parking_lot]
version = "0.12"

[dependencies.rand]
version = "0.9"

[dependencies.reqwest]
default-features = false
features = ["json", "gzip", "brotli", "rustls-tls"]
optional = true
version = "0.12"

[dependencies.rig-core]
features = ["rmcp"]
optional = true
version = "0.28"

[dependencies.rmcp]
features = ["client"]
optional = true
version = "0.8"

[dependencies.rustc-hash]
version = "2.1"

[dependencies.scraper]
optional = true
version = "0.24"

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

[dependencies.serde_json]
version = "1"

[dependencies.sqlx]
features = ["runtime-tokio-rustls", "sqlite", "postgres", "macros", "uuid", "chrono", "json"]
optional = true
version = "0.8"

[dependencies.thiserror]
version = "2"

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

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-error]
version = "0.2"

[dependencies.tracing-subscriber]
features = ["env-filter", "fmt", "ansi"]
version = "0.3"

[dependencies.uuid]
features = ["v4"]
version = "1"

[dependencies.wg-ragsmith]
optional = true
version = "0.1.2"

[dev-dependencies.async-stream]
version = "0.3"

[dev-dependencies.axum]
features = ["macros"]
version = "0.7"

[dev-dependencies.bytes]
version = "1.7"

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

[dev-dependencies.httpmock]
version = "0.7"

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

[dev-dependencies.reqwest]
default-features = false
features = ["json", "rustls-tls", "stream"]
version = "0.12"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio-rusqlite]
features = ["bundled"]
version = "0.6"

[dev-dependencies.url]
version = "2"

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

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

[[example]]
name = "cap_demo"
path = "examples/cap_demo.rs"
required-features = ["llm"]

[[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 = "demo3"
path = "examples/demo3.rs"
required-features = ["llm"]

[[example]]
name = "demo4"
path = "examples/demo4.rs"
required-features = ["llm"]

[[example]]
name = "demo5_rag"
path = "examples/demo5_rag.rs"
required-features = ["llm", "examples"]

[[example]]
name = "demo6_agent_mcp"
path = "examples/demo6_agent_mcp.rs"
required-features = ["llm"]

[[example]]
name = "demo7_axum_sse"
path = "examples/demo7_axum_sse.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"

[features]
default = ["sqlite-migrations"]
examples = ["reqwest", "scraper", "wg-ragsmith"]
llm = ["rig-core", "rmcp"]
postgres = ["sqlx"]
postgres-migrations = ["postgres"]
sqlite = ["sqlx"]
sqlite-migrations = ["sqlite"]

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

[lints.clippy]
manual_string_new = "warn"
missing_errors_doc = "allow"
module_name_repetitions = "allow"
new_without_default = "warn"
too_many_lines = "allow"

[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["concurrency", "data-structures", "algorithms"]
description = "Graph-driven, concurrent agent workflow framework with versioned state, deterministic barrier merges, and rich diagnostics."
documentation = "https://docs.rs/weavegraph"
edition = "2024"
homepage = "https://github.com/Idleness76/weavegraph"
keywords = ["graph", "workflow", "concurrency", "agents", "tracing"]
license = "MIT"
name = "weavegraph"
readme = "README.md"
repository = "https://github.com/Idleness76/weavegraph"
resolver = "2"
rust-version = "1.89"
version = "0.1.3"

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

[[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 = "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_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"