# 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 = "acp-http-adapter"
version = "0.2.2"
authors = ["Rivet Gaming, LLC <developer@rivet.gg>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Minimal ACP HTTP-to-stdio adapter"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/rivet-dev/sandbox-agent"

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

[[bin]]
name = "acp-http-adapter"
path = "src/main.rs"

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

[dependencies.axum]
version = "0.7"
features = ["ws"]

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

[dependencies.futures]
version = "0.3"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

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

[dependencies.tokio-stream]
version = "0.1"
features = ["sync"]

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.bytes]
version = "1.10"

[dev-dependencies.reqwest]
version = "0.11"
features = [
    "blocking",
    "json",
    "rustls-tls",
    "stream",
]
