infinity-agent-cli 0.2.0

Terminal client for Infinity coding agents.
Documentation
# 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 = "infinity-agent-cli"
version = "0.2.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Terminal client for Infinity coding agents."
documentation = "https://docs.rs/infinity-agent-cli/"
readme = false
license = "Apache-2.0"
repository = "https://github.com/hydro-project/infinity"
resolver = "2"

[features]
bundled-web = ["infinity-daemon/bundled-web"]

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

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

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

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

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

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

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

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

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

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

[dependencies.agent-client-protocol]
version = "0.11.1"
features = ["unstable_session_model"]

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

[dependencies.bytes]
version = "1"

[dependencies.chrono]
version = "0.4"

[dependencies.chrono-tz]
version = "0.10"

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

[dependencies.dirs]
version = "6"

[dependencies.futures-util]
version = "0.3"

[dependencies.http-body-util]
version = "0.1"

[dependencies.hyper]
version = "1"
features = [
    "client",
    "http1",
    "http2",
    "server",
]

[dependencies.hyper-util]
version = "0.1"
features = ["tokio"]

[dependencies.infinity-agent-core]
version = "^0.2.0"

[dependencies.infinity-daemon]
version = "^0.2.0"

[dependencies.infinity-protocol]
version = "^0.2.0"

[dependencies.infinity-provider-protocol]
version = "^0.2.0"

[dependencies.rap-protocol]
version = "^0.2.0"

[dependencies.ratatui]
version = "0.29"
features = ["unstable-rendered-line-info"]

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

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

[dependencies.serde_json]
version = "1"

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

[dependencies.tokio-util]
version = "0.7"
features = [
    "codec",
    "compat",
]

[dependencies.tracing]
version = "0.1"

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

[dependencies.unicode-width]
version = "0.2"

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

[dev-dependencies.alacritty_terminal]
version = "0.26"

[dev-dependencies.infinity-provider-protocol]
version = "^0.2.0"
features = ["mock"]

[dev-dependencies.infinity-rap-bridge]
version = "^0.2.0"

[dev-dependencies.insta]
version = "1"
features = [
    "json",
    "redactions",
]

[dev-dependencies.rap-client]
version = "^0.2.0"

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

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "sync",
    "rt",
    "macros",
    "sync",
    "time",
    "test-util",
]

[dev-dependencies.vt100]
version = "0.15"

[target."cfg(unix)".dependencies.nix]
version = "0.31"
features = ["signal"]

[lints.clippy]
alloc_instead_of_core = "warn"
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
double_must_use = "allow"
explicit_into_iter_loop = "warn"
let_and_return = "allow"
manual_is_variant_and = "warn"
manual_let_else = "warn"
redundant_clone = "warn"
self_named_module_files = "warn"
str_to_string = "warn"
try_err = "warn"
uninlined_format_args = "allow"
unused_async = "warn"
unwrap_used = "warn"

[lints.rust]
impl_trait_overcaptures = "warn"
missing_unsafe_on_extern = "deny"
unsafe_attr_outside_unsafe = "deny"
unused_qualifications = "warn"