claude-code-rust 3.0.0

A native Rust terminal interface for Claude Code
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.88.0"
name = "claude-code-rust"
version = "3.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "claude-rs"
description = "A native Rust terminal interface for Claude Code"
readme = "README.md"
keywords = [
    "cli",
    "tui",
    "claude",
    "ai",
    "terminal",
]
categories = ["command-line-interface"]
license = "AGPL-3.0-or-later"
repository = "https://github.com/srothgan/claude-code-rust"

[features]
perf = []

[lib]
name = "claude_code_rust"
path = "src/lib.rs"

[[bin]]
name = "claude-rs"
path = "src/main.rs"

[[test]]
name = "integration"
path = "tests/integration/main.rs"

[dependencies.agent-client-protocol]
version = "0.9.4"
features = [
    "unstable_session_model",
    "unstable_session_resume",
    "unstable_session_usage",
]

[dependencies.ansi-to-tui]
version = "8.0.1"

[dependencies.anyhow]
version = "1.0.101"

[dependencies.arboard]
version = "3.6.1"

[dependencies.async-trait]
version = "0.1.89"

[dependencies.clap]
version = "4.5.57"
features = ["derive"]

[dependencies.crossterm]
version = "0.29.0"
features = ["event-stream"]

[dependencies.dirs]
version = "6.0.0"

[dependencies.futures]
version = "0.3.31"

[dependencies.ignore]
version = "0.4.25"

[dependencies.pulldown-cmark]
version = "0.13.1"

[dependencies.ratatui]
version = "0.30.0"
features = ["unstable-rendered-line-info"]

[dependencies.reqwest]
version = "0.13.2"
features = [
    "json",
    "rustls",
]
default-features = false

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.149"

[dependencies.similar]
version = "2.7"

[dependencies.tokio]
version = "1.49.0"
features = ["full"]

[dependencies.tokio-util]
version = "0.7.18"
features = ["compat"]

[dependencies.tracing]
version = "0.1.44"

[dependencies.tracing-subscriber]
version = "0.3.22"
features = ["env-filter"]

[dependencies.tui-markdown]
version = "0.3.7"

[dependencies.tui-textarea-2]
version = "0.10.0"

[dependencies.unicode-width]
version = "0.2.2"

[dependencies.uuid]
version = "1.20.0"
features = ["v4"]

[dependencies.which]
version = "8.0.0"

[dev-dependencies.pretty_assertions]
version = "1.4"

[dev-dependencies.tempfile]
version = "3.25.0"

[lints.clippy]
exit = "deny"
expect_used = "deny"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
panic = "deny"
print_stderr = "allow"
print_stdout = "allow"
shadow_same = "warn"
shadow_unrelated = "allow"
str_to_string = "warn"
unwrap_used = "deny"

[lints.clippy.complexity]
level = "warn"
priority = -1

[lints.clippy.correctness]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.clippy.perf]
level = "warn"
priority = -1

[lints.clippy.style]
level = "warn"
priority = -1

[lints.clippy.suspicious]
level = "warn"
priority = -1