[package]
edition = "2024"
rust-version = "1.85"
name = "agent-abstraction"
version = "0.2.1"
build = false
exclude = [
"tests/**",
".github/**",
"AGENTS.md",
"CLAUDE.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Drive the Claude Code, Codex and GitHub Copilot CLIs headlessly from Rust. One request type, one event stream and one session model across all three, with resume and fork."
readme = "README.md"
keywords = [
"agent",
"claude",
"codex",
"copilot",
"llm",
]
categories = [
"development-tools",
"api-bindings",
"asynchronous",
]
license = "MIT"
repository = "https://github.com/pathscale/RustAgentAbstraction"
[lib]
name = "agent_abstraction"
path = "src/lib.rs"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"process",
"io-util",
"sync",
"time",
"rt",
"macros",
]
[dependencies.uuid]
version = "1"
features = [
"v4",
"serde",
]
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"time",
]
[dev-dependencies.uuid]
version = "1"
features = ["v4"]
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[lints.clippy]
result_large_err = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"