# 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"
name = "phx"
version = "0.2.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightweight, fast, minimalistic agent harness"
readme = "README.md"
license = "MIT"
repository = "https://github.com/duckedup/phx"

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

[[bin]]
name = "phx"
path = "src/main.rs"

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

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

[dependencies.anyhow]
version = "1"

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

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

[dependencies.base64]
version = "0.22.1"

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

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.crossterm]
version = "0.28"
features = ["event-stream"]

[dependencies.dirs]
version = "6"

[dependencies.fs2]
version = "0.4"

[dependencies.futures]
version = "0.3"

[dependencies.glob]
version = "0.3"

[dependencies.libc]
version = "0.2"

[dependencies.parking_lot]
version = "0.12"

[dependencies.pin-project-lite]
version = "0.2"

[dependencies.ratatui]
version = "0.29"
features = ["crossterm"]
default-features = false

[dependencies.ratatui-textarea]
version = "0.9"
features = ["crossterm"]
default-features = false

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

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

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

[dependencies.tracing]
version = "0.1"

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

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

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

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

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

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