agentplane 0.1.0

Durable, replayable agent runtime — the journal is the plan of record
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 = "2024"
rust-version = "1.94"
name = "agentplane"
version = "0.1.0"
build = false
include = [
    "/src/**/*.rs",
    "/examples/*.rs",
    "/README.md",
    "/LICENSE-MIT",
    "/LICENSE-APACHE",
    "/clippy.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Durable, replayable agent runtime — the journal is the plan of record"
readme = "README.md"
keywords = [
    "agent",
    "durable-execution",
    "replay",
    "runtime",
    "llm",
]
categories = [
    "asynchronous",
    "data-structures",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/hupe1980/agentplane"

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

[features]
a2a = ["dep:reqwest"]
cedar = ["dep:cedar-policy"]
default = ["redb"]
http = ["dep:axum"]
mcp = ["dep:rmcp"]
opendal = ["dep:opendal"]
postgres = [
    "dep:tokio-postgres",
    "dep:deadpool-postgres",
]
providers = ["dep:reqwest"]
redb = ["dep:redb"]
signing = ["dep:ed25519-dalek"]
testkit = []

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

[[example]]
name = "clearing_case"
path = "examples/clearing_case.rs"
required-features = ["redb"]

[[example]]
name = "durable_pipeline"
path = "examples/durable_pipeline.rs"
required-features = ["redb"]

[[example]]
name = "model_run"
path = "examples/model_run.rs"
required-features = [
    "redb",
    "testkit",
]

[[example]]
name = "plan_graph"
path = "examples/plan_graph.rs"
required-features = ["redb"]

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

[dependencies.axum]
version = "0.8.9"
features = [
    "json",
    "http1",
    "tokio",
]
optional = true
default-features = false

[dependencies.cedar-policy]
version = "4.12.0"
optional = true
default-features = false

[dependencies.deadpool-postgres]
version = "0.14.1"
optional = true

[dependencies.ed25519-dalek]
version = "3"
features = [
    "alloc",
    "zeroize",
    "signature",
]
optional = true
default-features = false

[dependencies.futures-util]
version = "0.3"
features = [
    "std",
    "async-await",
]
default-features = false

[dependencies.hex]
version = "0.4"

[dependencies.opendal]
version = "0.58"
features = ["services-fs"]
optional = true
default-features = false

[dependencies.rand]
version = "0.9"

[dependencies.rand_chacha]
version = "0.9"

[dependencies.redb]
version = "3"
optional = true

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "rustls",
    "webpki-roots",
    "http2",
    "charset",
    "stream",
]
optional = true
default-features = false

[dependencies.rmcp]
version = "3.1"
features = [
    "client",
    "transport-io",
]
optional = true
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.time]
version = "0.3"
features = [
    "serde-well-known",
    "macros",
    "formatting",
    "parsing",
]

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

[dependencies.tokio-postgres]
version = "0.7.18"
optional = true

[dependencies.tracing]
version = "0.1"

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

[dependencies.zeroize]
version = "1"
features = ["alloc"]

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

[dev-dependencies.futures-util]
version = "0.3"
features = [
    "std",
    "async-await",
]
default-features = false

[dev-dependencies.rmcp]
version = "3.1"
features = [
    "server",
    "transport-io",
    "macros",
]
default-features = false

[dev-dependencies.testcontainers-modules]
version = "0.15.0"
features = ["postgres"]

[dev-dependencies.tokio]
version = "1"
features = ["full"]

[dev-dependencies.tower]
version = "0.5.3"
features = ["util"]

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
    "fmt",
    "registry",
]
default-features = false

[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_debug_implementations = "warn"
unsafe_code = "forbid"