# 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 = "gate4agent"
version = "0.2.14"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Universal transport library for 4 CLI AI agents (Claude Code, Codex, Gemini, OpenCode). Pipe, PTY, RPC, and Daemon transports."
readme = "README.md"
keywords = [
    "claude",
    "agent",
    "cli",
    "pipe",
    "pty",
]
categories = [
    "development-tools",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/ZENG3LD/gate4agent"

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

[[example]]
name = "pipe_hello"
path = "examples/pipe_hello.rs"

[[example]]
name = "pty_cursor_probe"
path = "examples/pty_cursor_probe.rs"

[[example]]
name = "pty_hello"
path = "examples/pty_hello.rs"

[[example]]
name = "rpc_hello"
path = "examples/rpc_hello.rs"

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

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

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

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

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

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

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

[dependencies.regex]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

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

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

[dependencies.vt100]
version = "0.15"

[dependencies.vte]
version = "0.13"

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