# 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 = "babysit"
version = "0.11.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Wrap a shell command in a PTY and expose it to external AI agents (Claude / Codex) via subcommands"
readme = "README.md"
keywords = [
    "pty",
    "ai",
    "agent",
    "wrapper",
    "claude",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/yusukeshib/babysit"

[features]
default = ["upgrade"]
upgrade = ["dep:self_update"]

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

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

[dependencies.anyhow]
version = "1"

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

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

[dependencies.crossterm]
version = "0.29"

[dependencies.directories]
version = "5"

[dependencies.nix]
version = "0.29"
features = [
    "signal",
    "process",
]

[dependencies.portable-pty]
version = "0.9"

[dependencies.regex]
version = "1"

[dependencies.self_update]
version = "0.42"
features = ["rustls"]
optional = true
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.strip-ansi-escapes]
version = "0.2"

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

[dependencies.vt100]
version = "0.16"
