[package]
edition = "2021"
name = "ralph-coder"
version = "0.2.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An agentic code generation CLI powered by multiple LLM backends"
homepage = "https://github.com/akkeshavan/ralph"
documentation = "https://github.com/akkeshavan/ralph#readme"
readme = "README.md"
keywords = [
"ai",
"agent",
"codegen",
"llm",
"cli",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "MIT"
repository = "https://github.com/akkeshavan/ralph"
[package.metadata.binstall]
pkg-url = "https://github.com/akkeshavan/ralph-releases/releases/download/v{ version }/ralph-v{ version }-{ target }.tar.gz"
bin-dir = "ralph-v{ version }-{ target }/ralph"
pkg-fmt = "tgz"
[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-url = "https://github.com/akkeshavan/ralph-releases/releases/download/v{ version }/ralph-v{ version }-{ target }.zip"
bin-dir = "ralph-v{ version }-{ target }/ralph.exe"
pkg-fmt = "zip"
[lib]
name = "ralph"
path = "src/lib.rs"
[[bin]]
name = "ralph"
path = "src/main.rs"
[[test]]
name = "test_auto_test"
path = "tests/test_auto_test.rs"
[[test]]
name = "test_checkpoint"
path = "tests/test_checkpoint.rs"
[[test]]
name = "test_checkpoint_revert"
path = "tests/test_checkpoint_revert.rs"
[[test]]
name = "test_compaction"
path = "tests/test_compaction.rs"
[[test]]
name = "test_file_tools"
path = "tests/test_file_tools.rs"
[[test]]
name = "test_guardrails"
path = "tests/test_guardrails.rs"
[[test]]
name = "test_load_explain"
path = "tests/test_load_explain.rs"
[[test]]
name = "test_lsp_tools"
path = "tests/test_lsp_tools.rs"
[[test]]
name = "test_memory"
path = "tests/test_memory.rs"
[[test]]
name = "test_search_availability"
path = "tests/test_search_availability.rs"
[[test]]
name = "test_search_tools"
path = "tests/test_search_tools.rs"
[[test]]
name = "test_session"
path = "tests/test_session.rs"
[[test]]
name = "test_session_log"
path = "tests/test_session_log.rs"
[[test]]
name = "test_shell_tools"
path = "tests/test_shell_tools.rs"
[[test]]
name = "test_symbol_index"
path = "tests/test_symbol_index.rs"
[[test]]
name = "test_token_counting"
path = "tests/test_token_counting.rs"
[dependencies.anyhow]
version = "1"
[dependencies.async-trait]
version = "0.1"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.clap]
version = "4"
features = [
"derive",
"env",
]
[dependencies.colored]
version = "2"
[dependencies.ctrlc]
version = "3"
[dependencies.dirs]
version = "5"
[dependencies.futures-util]
version = "0.3"
[dependencies.ignore]
version = "0.4"
[dependencies.indicatif]
version = "0.17"
[dependencies.regex]
version = "1"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"stream",
]
[dependencies.rustyline]
version = "14"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.similar]
version = "2"
features = ["text"]
[dependencies.thiserror]
version = "2"
[dependencies.tiktoken-rs]
version = "0.5"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.toml]
version = "0.8"
[dependencies.uuid]
version = "1"
features = ["v4"]
[dev-dependencies.mockito]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = ["full"]
[profile.release]
opt-level = 3
strip = true