[package]
edition = "2021"
rust-version = "1.74"
name = "claude_runner"
version = "1.3.1"
authors = ["wandalen"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CLI for executing Claude Code via builder pattern; YAML schema constants for command registration"
homepage = "https://github.com/iron-cage/claude_tools"
readme = "readme.md"
keywords = [
"claude",
"ai",
"runner",
"cli",
"execution",
]
categories = [
"development-tools",
"command-line-utilities",
]
license = "MIT"
repository = "https://github.com/iron-cage/claude_tools"
[features]
default = ["enabled"]
enabled = [
"dep:claude_core",
"dep:claude_runner_core",
"claude_runner_core/enabled",
"claude_core/enabled",
"dep:claude_storage_core",
"dep:error_tools",
"error_tools/enabled",
"error_tools/error_untyped",
"dep:unilang",
"unilang/enabled",
"dep:data_fmt",
]
[lib]
name = "claude_runner"
path = "src/lib.rs"
[[bin]]
name = "c"
path = "src/bin/c.rs"
required-features = ["enabled"]
[[bin]]
name = "claude_runner"
path = "src/main.rs"
required-features = ["enabled"]
[[bin]]
name = "clr"
path = "src/bin/clr.rs"
required-features = ["enabled"]
[[test]]
name = "add_dir_test"
path = "tests/add_dir_test.rs"
[[test]]
name = "allowed_tools_test"
path = "tests/allowed_tools_test.rs"
[[test]]
name = "ask_command_test"
path = "tests/ask_command_test.rs"
[[test]]
name = "bug_reproducers_239_244_test"
path = "tests/bug_reproducers_239_244_test.rs"
[[test]]
name = "bug_reproducers_246_test"
path = "tests/bug_reproducers_246_test.rs"
[[test]]
name = "bug_reproducers_247_test"
path = "tests/bug_reproducers_247_test.rs"
[[test]]
name = "bug_reproducers_248_test"
path = "tests/bug_reproducers_248_test.rs"
[[test]]
name = "cli_args_ext_test"
path = "tests/cli_args_ext_test.rs"
[[test]]
name = "cli_args_test"
path = "tests/cli_args_test.rs"
[[test]]
name = "cli_binary_test_helpers"
path = "tests/cli_binary_test_helpers.rs"
[[test]]
name = "commands_yaml_test"
path = "tests/commands_yaml_test.rs"
[[test]]
name = "creds_default_test"
path = "tests/creds_default_test.rs"
[[test]]
name = "disallowed_tools_test"
path = "tests/disallowed_tools_test.rs"
[[test]]
name = "dry_run_test"
path = "tests/dry_run_test.rs"
[[test]]
name = "effort_args_test"
path = "tests/effort_args_test.rs"
[[test]]
name = "env_var_ext_test"
path = "tests/env_var_ext_test.rs"
[[test]]
name = "env_var_test"
path = "tests/env_var_test.rs"
[[test]]
name = "error_classification_test"
path = "tests/error_classification_test.rs"
[[test]]
name = "execution_mode_test"
path = "tests/execution_mode_test.rs"
[[test]]
name = "exit_code_contract_test"
path = "tests/exit_code_contract_test.rs"
[[test]]
name = "expect_validation_test"
path = "tests/expect_validation_test.rs"
[[test]]
name = "fallback_model_test"
path = "tests/fallback_model_test.rs"
[[test]]
name = "fence_test"
path = "tests/fence_test.rs"
[[test]]
name = "invariant_trace_universality_test"
path = "tests/invariant_trace_universality_test.rs"
[[test]]
name = "isolated_correctness_test"
path = "tests/isolated_correctness_test.rs"
[[test]]
name = "isolated_defaults_test"
path = "tests/isolated_defaults_test.rs"
[[test]]
name = "isolated_test"
path = "tests/isolated_test.rs"
[[test]]
name = "kill_command_test"
path = "tests/kill_command_test.rs"
[[test]]
name = "lib_test"
path = "tests/lib_test.rs"
[[test]]
name = "max_budget_usd_test"
path = "tests/max_budget_usd_test.rs"
[[test]]
name = "max_turns_test"
path = "tests/max_turns_test.rs"
[[test]]
name = "output_file_test"
path = "tests/output_file_test.rs"
[[test]]
name = "output_format_test"
path = "tests/output_format_test.rs"
[[test]]
name = "output_style_test"
path = "tests/output_style_test.rs"
[[test]]
name = "param_edge_cases_test"
path = "tests/param_edge_cases_test.rs"
[[test]]
name = "param_extended_flags_test"
path = "tests/param_extended_flags_test.rs"
[[test]]
name = "param_group_test"
path = "tests/param_group_test.rs"
[[test]]
name = "param_trace_edge_cases_test"
path = "tests/param_trace_edge_cases_test.rs"
[[test]]
name = "ps_columns_test"
path = "tests/ps_columns_test.rs"
[[test]]
name = "ps_command_test"
path = "tests/ps_command_test.rs"
[[test]]
name = "ps_flags_test"
path = "tests/ps_flags_test.rs"
[[test]]
name = "ps_inspect_test"
path = "tests/ps_inspect_test.rs"
[[test]]
name = "ps_mode_test"
path = "tests/ps_mode_test.rs"
[[test]]
name = "ps_pid_test"
path = "tests/ps_pid_test.rs"
[[test]]
name = "ps_wide_test"
path = "tests/ps_wide_test.rs"
[[test]]
name = "refresh_test"
path = "tests/refresh_test.rs"
[[test]]
name = "retry_account_test"
path = "tests/retry_account_test.rs"
[[test]]
name = "retry_auth_test"
path = "tests/retry_auth_test.rs"
[[test]]
name = "retry_default_test"
path = "tests/retry_default_test.rs"
[[test]]
name = "retry_override_test"
path = "tests/retry_override_test.rs"
[[test]]
name = "retry_process_test"
path = "tests/retry_process_test.rs"
[[test]]
name = "retry_runner_test"
path = "tests/retry_runner_test.rs"
[[test]]
name = "retry_service_test"
path = "tests/retry_service_test.rs"
[[test]]
name = "retry_transient_test"
path = "tests/retry_transient_test.rs"
[[test]]
name = "retry_unknown_test"
path = "tests/retry_unknown_test.rs"
[[test]]
name = "retry_validation_test"
path = "tests/retry_validation_test.rs"
[[test]]
name = "stale_ref_guard_test"
path = "tests/stale_ref_guard_test.rs"
[[test]]
name = "timeout_test"
path = "tests/timeout_test.rs"
[[test]]
name = "tools_command_test"
path = "tests/tools_command_test.rs"
[[test]]
name = "ultrathink_args_test"
path = "tests/ultrathink_args_test.rs"
[[test]]
name = "user_story_creds_isolated_test"
path = "tests/user_story_creds_isolated_test.rs"
[[test]]
name = "user_story_kill_test"
path = "tests/user_story_kill_test.rs"
[[test]]
name = "user_story_output_test"
path = "tests/user_story_output_test.rs"
[[test]]
name = "user_story_ps_test"
path = "tests/user_story_ps_test.rs"
[[test]]
name = "user_story_test"
path = "tests/user_story_test.rs"
[[test]]
name = "verbosity_test"
path = "tests/verbosity_test.rs"
[dependencies.claude_core]
version = "=1.3.1"
optional = true
default-features = false
[dependencies.claude_runner_core]
version = "=1.3.1"
optional = true
default-features = false
[dependencies.claude_storage_core]
version = "=1.3.1"
optional = true
default-features = false
[dependencies.data_fmt]
version = "^0.4"
features = ["enabled"]
optional = true
default-features = false
[dependencies.error_tools]
version = "^0.40"
optional = true
default-features = false
[dependencies.unilang]
version = "^0.57"
features = [
"enabled",
"approach_yaml_multi_build",
]
optional = true
default-features = false
[dev-dependencies.tempfile]
version = "^3"
[lints.clippy]
absolute_paths = "allow"
arbitrary_source_item_ordering = "allow"
cast_precision_loss = "allow"
doc_include_without_cfg = "warn"
implicit_return = "allow"
inline_always = "allow"
items_after_statements = "allow"
missing_docs_in_private_items = "allow"
missing_inline_in_public_items = "warn"
mod_module_files = "allow"
module_name_repetitions = "allow"
needless_pass_by_value = "allow"
pub_use = "allow"
question_mark_used = "allow"
single_call_fn = "allow"
std_instead_of_alloc = "allow"
std_instead_of_core = "warn"
undocumented_unsafe_blocks = "deny"
wildcard_imports = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unsafe-code = "deny"
[lints.rust.future_incompatible]
level = "warn"
priority = -1
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1