# 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 = "sac-cli"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Terminal-based AI coding agent — fork of NAC with extended backend support and context management"
readme = "README.md"
keywords = [
    "ai",
    "coding-agent",
    "terminal",
    "deepseek",
    "openai",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/secemp9/sac"

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.arboard]
version = "3"
features = ["wayland-data-control"]
default-features = false

[dependencies.base64]
version = "0.22"

[dependencies.blake3]
version = "1.8.5"

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

[dependencies.crossterm]
version = "0.29"

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

[dependencies.libc]
version = "0.2"

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

[dependencies.rand]
version = "0.10.1"

[dependencies.ratatui]
version = "0.30"

[dependencies.ratatui-textarea]
version = "0.8"

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

[dependencies.rmcp]
version = "1.2.0"
features = [
    "client",
    "reqwest",
    "transport-child-process",
    "transport-streamable-http-client",
    "transport-streamable-http-client-reqwest",
]
default-features = false

[dependencies.rusqlite]
version = "0.32"
features = ["bundled"]

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.sha2]
version = "0.10"

[dependencies.tiny_http]
version = "0.12"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

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

[dependencies.url]
version = "2"

[dependencies.urlencoding]
version = "2"

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

[dependencies.webbrowser]
version = "1"

[dev-dependencies.filetime]
version = "0.2"
