# 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 = "2021"
rust-version = "1.84"
name = "bamboo-subagent"
version = "2026.7.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sub-agent fleet runtime: project-keyed session store, indices, and Maildir-style mailbox"
readme = false
license = "MIT"

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

[[bin]]
name = "subagent-demo-worker"
path = "src/bin/subagent-demo-worker.rs"

[[test]]
name = "e2e_subprocess"
path = "tests/e2e_subprocess.rs"

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

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

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

[dependencies.rustls]
version = "0.23"
features = [
    "ring",
    "std",
    "tls12",
]
default-features = false

[dependencies.rustls-pemfile]
version = "2"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "1"

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

[dependencies.tokio-rustls]
version = "0.26"
features = [
    "ring",
    "logging",
    "tls12",
]
default-features = false

[dependencies.tokio-tungstenite]
version = "0.24"
features = ["rustls-tls-webpki-roots"]

[dependencies.tokio-util]
version = "0.7"

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

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

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
    "rt-multi-thread",
    "time",
]
