[package]
name = "ssh-cli"
version = "0.3.2"
edition = "2021"
rust-version = "1.85.0"
default-run = "ssh-cli"
description = "Native Rust CLI that gives LLMs (Claude Code, Cursor, Windsurf) the ability to operate remote servers via SSH over stdin/stdout"
authors = ["Danilo <daniloaguiarbr@pm.me>"]
license = "MIT"
repository = "https://github.com/daniloaguiarbr/ssh-cli"
homepage = "https://github.com/daniloaguiarbr/ssh-cli"
documentation = "https://docs.rs/ssh-cli"
readme = "README.md"
keywords = ["ssh", "cli", "llm", "automation", "devops"]
categories = ["command-line-utilities", "network-programming"]
exclude = [
".serena/",
".claude/",
"logs/",
"CLAUDE.md",
"AGENTS.md",
"docs_rules/",
"projeto_ssh-cli.md",
".github/",
"tests/fixtures/",
"ralph-loop.local.md",
"deny.toml",
"Cross.toml",
".env",
".env.*",
"*.profraw",
"*.profdata",
"coverage/",
]
[lib]
name = "ssh_cli"
path = "src/lib.rs"
[[bin]]
name = "ssh-cli"
path = "src/main.rs"
[dependencies]
tokio = { version = "1.40", features = ["rt-multi-thread", "io-util", "io-std", "time", "sync", "macros", "fs", "net"] }
clap = { version = "4.5", features = ["derive", "env", "unicode", "wrap_help"] }
clap_complete = "4.5"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
toml = "0.8"
directories = "5.0"
sys-locale = "0.3"
ctrlc = { version = "3.4", features = ["termination"] }
termcolor = "1.4"
unicode-normalization = "0.1"
mimalloc = { version = "0.1", optional = true }
zeroize = { version = "1.8", features = ["derive"] }
secrecy = { version = "0.10", features = ["serde"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["fmt", "env-filter"] }
thiserror = "2.0"
anyhow = "1.0"
chrono = { version = "0.4", features = ["serde", "clock"] }
async-trait = "0.1"
russh = { version = "0.60", default-features = false, features = ["aws-lc-rs", "flate2"], optional = true }
elliptic-curve = "=0.14.0-rc.30"
[target.'cfg(unix)'.dependencies]
signal-hook = "0.3"
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.59", features = ["Win32_System_Console", "Win32_Foundation"] }
[features]
default = ["ssh-real"]
ssh-real = ["dep:russh"]
musl-allocator = ["dep:mimalloc"]
[dev-dependencies]
assert_cmd = "2.0"
predicates = "3.1"
tempfile = "3.13"
serial_test = "3.1"
mockall = "0.13"
async-trait = "0.1"
criterion = { version = "0.5", features = ["html_reports"] }
proptest = "1.5"
insta = { version = "1.39", features = ["json", "redactions"] }
[[bench]]
name = "ssh_operations"
harness = false
[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
strip = "symbols"
panic = "abort"
[profile.dev]
opt-level = 0
debug = true
panic = "unwind"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]