[package]
edition = "2024"
rust-version = "1.85"
name = "claude-code-client-sdk"
version = "0.1.46"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust SDK for integrating Claude Code as a subprocess with typed APIs"
readme = "README.md"
keywords = [
"claude",
"agent",
"sdk",
"anthropic",
]
categories = [
"api-bindings",
"asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/tosimpletech/agent-client-sdk-package"
[lib]
name = "claude_code"
path = "src/lib.rs"
[[test]]
name = "agent_definition_tests"
path = "tests/agent_definition_tests.rs"
[[test]]
name = "buffering_tests"
path = "tests/buffering_tests.rs"
[[test]]
name = "client_tests"
path = "tests/client_tests.rs"
[[test]]
name = "concurrency_tests"
path = "tests/concurrency_tests.rs"
[[test]]
name = "e2e_agents_settings_tests"
path = "tests/e2e_agents_settings_tests.rs"
[[test]]
name = "e2e_hooks_tests"
path = "tests/e2e_hooks_tests.rs"
[[test]]
name = "e2e_sdk_mcp_tools_tests"
path = "tests/e2e_sdk_mcp_tools_tests.rs"
[[test]]
name = "e2e_structured_output_tests"
path = "tests/e2e_structured_output_tests.rs"
[[test]]
name = "e2e_subprocess_mock_tests"
path = "tests/e2e_subprocess_mock_tests.rs"
[[test]]
name = "error_handling_tests"
path = "tests/error_handling_tests.rs"
[[test]]
name = "errors_tests"
path = "tests/errors_tests.rs"
[[test]]
name = "message_parser_tests"
path = "tests/message_parser_tests.rs"
[[test]]
name = "query_callbacks_tests"
path = "tests/query_callbacks_tests.rs"
[[test]]
name = "query_stream_api_tests"
path = "tests/query_stream_api_tests.rs"
[[test]]
name = "sdk_mcp_tests"
path = "tests/sdk_mcp_tests.rs"
[[test]]
name = "sessions_tests"
path = "tests/sessions_tests.rs"
[[test]]
name = "settings_tests"
path = "tests/settings_tests.rs"
[[test]]
name = "structured_output_tests"
path = "tests/structured_output_tests.rs"
[[test]]
name = "transport_command_tests"
path = "tests/transport_command_tests.rs"
[[test]]
name = "types_tests"
path = "tests/types_tests.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.futures]
version = "0.3"
[dependencies.semver]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"io-util",
"macros",
"process",
"rt-multi-thread",
"sync",
"time",
]
[dependencies.tracing]
version = "0.1"
[dependencies.which]
version = "8"
[target."cfg(unix)".dependencies.nix]
version = "0.31"
features = ["user"]