[package]
edition = "2024"
name = "agcli"
version = "0.7.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A tiny, no-bloat foundation crate for building agentic CLIs in Rust."
homepage = "https://github.com/matthiasdebernardini/agcli"
readme = "README.md"
keywords = [
"cli",
"agent",
"json",
"framework",
]
categories = ["command-line-interface"]
license = "MIT"
repository = "https://github.com/matthiasdebernardini/agcli"
[features]
deserialize = []
jemalloc = ["dep:tikv-jemallocator"]
[lib]
name = "agcli"
path = "src/lib.rs"
[[example]]
name = "ops"
path = "examples/ops.rs"
[[bench]]
name = "core"
path = "benches/core.rs"
harness = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
]
[target.'cfg(not(target_env = "msvc"))'.dependencies.tikv-jemallocator]
version = "0.6"
optional = true
[profile.bench]
debug = 2
inherits = "release"
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1