[package]
edition = "2024"
rust-version = "1.88"
name = "hey"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Minimal terminal AI coding agent: kernel loop + MCP/Skills self-evolution"
homepage = "https://gitee.com/buffed/hey"
documentation = "https://docs.rs/hey"
readme = "README.md"
keywords = [
"ai",
"agent",
"cli",
"mcp",
"coding-assistant",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "MIT"
repository = "https://gitee.com/buffed/hey"
[lib]
name = "hey"
path = "src/lib.rs"
[[bin]]
name = "hey"
path = "src/main.rs"
[[example]]
name = "embed"
path = "examples/embed.rs"
[[test]]
name = "agent_loop"
path = "tests/agent_loop.rs"
[[test]]
name = "agent_retry"
path = "tests/agent_retry.rs"
[[test]]
name = "anthropic_provider"
path = "tests/anthropic_provider.rs"
[[test]]
name = "ctrl_c_pty"
path = "tests/ctrl_c_pty.rs"
[[test]]
name = "e2e_live"
path = "tests/e2e_live.rs"
[[test]]
name = "google_provider"
path = "tests/google_provider.rs"
[[test]]
name = "openai_provider"
path = "tests/openai_provider.rs"
[[test]]
name = "proptests"
path = "tests/proptests.rs"
[[test]]
name = "repl_cli"
path = "tests/repl_cli.rs"
[[test]]
name = "responses_provider"
path = "tests/responses_provider.rs"
[[test]]
name = "retry_behavior"
path = "tests/retry_behavior.rs"
[[bench]]
name = "core"
path = "benches/core.rs"
harness = false
[dependencies.anyhow]
version = "1"
[dependencies.async-trait]
version = "0.1"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.clap_complete]
version = "4"
[dependencies.dirs]
version = "6"
[dependencies.futures-util]
version = "0.3"
[dependencies.ignore]
version = "0.4"
[dependencies.rand]
version = "0.9"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"stream",
"socks",
"gzip",
"rustls-tls",
]
default-features = false
[dependencies.rustyline]
version = "17"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"net",
"io-util",
"time",
"fs",
"sync",
"signal",
"process",
]
[dependencies.toml]
version = "0.8"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.proptest]
version = "1"
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[lints.clippy]
assigning_clones = "allow"
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
default_trait_access = "allow"
doc_markdown = "allow"
duration_suboptimal_units = "allow"
explicit_iter_loop = "allow"
format_collect = "allow"
if_not_else = "allow"
ignored_unit_patterns = "allow"
items_after_statements = "allow"
match_same_arms = "allow"
match_single_binding = "allow"
match_wildcard_for_single_variants = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"
needless_lifetimes = "allow"
needless_pass_by_value = "allow"
redundant_clone = "allow"
redundant_closure = "allow"
redundant_closure_for_method_calls = "allow"
return_self_not_must_use = "allow"
single_match_else = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"
uninlined_format_args = "allow"
unnecessary_lazy_evaluations = "allow"
unnecessary_literal_bound = "allow"
unnecessary_wraps = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[profile.release]
lto = "thin"
codegen-units = 1
strip = true