# 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"
name = "ralph"
version = "0.1.5"
authors = ["Madhava Jay <madhava@openmined.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A CLI agent harness for running AI coding agents (Codex, Claude, Pi, Gemini)"
readme = "README.md"
keywords = [
    "cli",
    "ai",
    "agent",
    "codex",
    "claude",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/madhavajay/ralph"

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.chrono]
version = "0.4"

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "env",
]

[dependencies.ctrlc]
version = "3.4"

[dependencies.dialoguer]
version = "0.11"

[dependencies.dirs]
version = "5.0"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.40"
features = [
    "full",
    "process",
]

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

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

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

[dependencies.which]
version = "7.0"

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

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

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

[profile.release]
lto = true
codegen-units = 1
strip = true
