[package]
edition = "2024"
name = "claudecode"
version = "0.1.20"
authors = ["ClaudeCode-RS Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust SDK for programmatically interacting with Claude Code"
homepage = "https://github.com/allisoneer/agentic_auxilary"
documentation = "https://docs.rs/claudecode"
readme = "README.md"
keywords = [
"claude",
"ai",
"sdk",
"anthropic",
]
categories = [
"api-bindings",
"development-tools",
]
license = "MIT"
repository = "https://github.com/allisoneer/agentic_auxilary"
resolver = "2"
[package.metadata.dist]
dist = false
[package.metadata.repo]
role = "lib"
family = "services"
readme_tier = "featured"
[package.metadata.repo.integrations]
mcp = false
logging = false
napi = false
[lib]
name = "claudecode"
path = "src/lib.rs"
[[bin]]
name = "claudecode"
path = "src/main.rs"
[[bin]]
name = "fake_claude"
path = "src/bin/fake_claude.rs"
[[example]]
name = "claudecode_basic"
path = "examples/basic.rs"
[[example]]
name = "claudecode_streaming"
path = "examples/streaming.rs"
[[example]]
name = "mcp"
path = "examples/mcp.rs"
[[example]]
name = "streaming_debug"
path = "examples/streaming_debug.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "lifecycle"
path = "tests/lifecycle.rs"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.dirs]
version = "6"
[dependencies.futures]
version = "0.3"
[dependencies.libc]
version = "0.2"
[dependencies.nix]
version = "0.29"
features = [
"signal",
"process",
]
[dependencies.num_cpus]
version = "1.16"
[dependencies.rmcp]
version = "1.1.0"
features = [
"client",
"transport-child-process",
]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.tempfile]
version = "3.10"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tokio-util]
version = "0.7"
features = ["rt"]
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
version = "1.10"
features = [
"v4",
"serde",
]
[dependencies.which]
version = "8"
[dev-dependencies.serial_test]
version = "3.2"
[dev-dependencies.tokio-test]
version = "0.4"
[dev-dependencies.tracing-subscriber]
version = "0.3"
[lints.clippy]
allow_attributes = "warn"
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
clone_on_ref_ptr = "warn"
create_dir = "warn"
dbg_macro = "warn"
default_trait_access = "allow"
exit = "warn"
expect_used = "warn"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
option_if_let_else = "allow"
rest_pat_in_fully_bound_structs = "warn"
self_named_module_files = "warn"
significant_drop_tightening = "allow"
struct_excessive_bools = "allow"
suboptimal_flops = "allow"
too_many_lines = "allow"
undocumented_unsafe_blocks = "warn"
unused_result_ok = "warn"
unwrap_used = "warn"
wildcard_dependencies = "warn"
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]