scv-cli 0.3.2

A small, extensible terminal agent runtime with a TUI and headless server
# 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"
rust-version = "1.88"
name = "scv-cli"
version = "0.3.2"
build = false
exclude = [
    ".agents/",
    ".claude/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A small, extensible terminal agent runtime with a TUI and headless server"
homepage = "https://github.com/PeiyuanQi/scv"
readme = "README.md"
keywords = [
    "agent",
    "coding-agent",
    "terminal",
    "tui",
    "llm",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/PeiyuanQi/scv"
resolver = "2"

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

[[bin]]
name = "scv-server"
path = "src/bin/scv-server.rs"
test = false

[[test]]
name = "it"
path = "tests/it/main.rs"

[[bench]]
name = "runtime"
path = "benches/runtime.rs"
harness = false

[dependencies.anyhow]
version = "1.0.99"

[dependencies.clap]
version = "4.5.47"
features = [
    "derive",
    "env",
]

[dependencies.dirs]
version = "6.0.0"

[dependencies.libc]
version = "0.2.175"

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

[dependencies.scv-channels]
version = "=0.3.2"

[dependencies.scv-client]
version = "=0.3.2"

[dependencies.scv-protocol]
version = "=0.3.2"

[dependencies.scv-server]
version = "=0.3.2"

[dependencies.scv-tools]
version = "=0.3.2"

[dependencies.scv-tui]
version = "=0.3.2"

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

[dependencies.serde_json]
version = "1.0.143"

[dependencies.sha2]
version = "0.10.9"

[dependencies.tempfile]
version = "3.21.0"

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

[dependencies.toml]
version = "0.9.5"

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

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

[dev-dependencies.base64]
version = "0.22.1"

[dev-dependencies.criterion]
version = "0.5.1"

[dev-dependencies.scv-core]
version = "=0.3.2"

[dev-dependencies.scv-protocol]
version = "=0.3.2"

[dev-dependencies.serde_json]
version = "1.0.143"

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

[lints.clippy]
allow_attributes_without_reason = "deny"
assigning_clones = "allow"
case_sensitive_file_extension_comparisons = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
dbg_macro = "deny"
doc_markdown = "allow"
format_collect = "allow"
format_push_string = "allow"
items_after_statements = "allow"
large_futures = "allow"
large_stack_arrays = "allow"
match_same_arms = "allow"
missing_errors_doc = "allow"
missing_fields_in_debug = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
struct_field_names = "allow"
todo = "deny"
too_many_lines = "allow"
undocumented_unsafe_blocks = "deny"
unnecessary_debug_formatting = "allow"
unreadable_literal = "allow"
unused_self = "allow"
unwrap_used = "warn"
verbose_bit_mask = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "deny"

[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1

[profile.dev]
debug = 1

[profile.release]
lto = "thin"
codegen-units = 1
strip = true