claudecode 0.1.21

A Rust SDK for programmatically interacting with Claude Code
Documentation
[package]
name = "claudecode"
version = "0.1.21"
edition = "2024"
authors = ["ClaudeCode-RS Contributors"]
description = "A Rust SDK for programmatically interacting with Claude Code"
repository = "https://github.com/allisoneer/agentic_auxilary"
homepage = "https://github.com/allisoneer/agentic_auxilary"
documentation = "https://docs.rs/claudecode"
license = "MIT"
keywords = ["claude", "ai", "sdk", "anthropic"]
categories = ["api-bindings", "development-tools"]

[package.metadata.dist]
dist = false

[dependencies]
# Core async runtime
tokio = { workspace = true }
tokio-util = { workspace = true }
nix = { workspace = true }

# Async traits and utilities
futures = "0.3"

# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"

# Error handling
thiserror = "2.0"

# Logging
tracing = "0.1"

# Path and environment handling
dirs = { workspace = true }
which = "8"

# Time handling
chrono = { version = "0.4", features = ["serde"] }

# Temporary file handling for MCP config
tempfile = "3.10"

# UUID generation for session IDs
uuid = { version = "1.10", features = ["v4", "serde"] }

# Low-level system calls (for interrupt signal)
libc = "0.2"

# MCP validation
rmcp = { workspace = true, features = ["client", "transport-child-process"] }
num_cpus = "1.16"

[dev-dependencies]
tokio-test = "0.4"
tracing-subscriber = "0.3"
serial_test = "3.2"

# Examples
[[example]]
name = "claudecode_basic"
path = "examples/basic.rs"

[[example]]
name = "claudecode_streaming"
path = "examples/streaming.rs"

[lints]
workspace = true

[package.metadata.repo]
role = "lib"
family = "services"
readme_tier = "featured"

[package.metadata.repo.integrations]
mcp = false
logging = false
napi = false