[package]
edition = "2024"
rust-version = "1.99"
name = "runnerd-cli"
version = "0.0.14"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Command-line client for the runnerd daemon"
readme = "README.md"
keywords = [
"github-actions",
"ci",
"runner",
"tui",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "MIT"
repository = "https://github.com/ayagmar/runnerd"
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }{ archive-suffix }"
bin-dir = "{ name }-{ target }/{ bin }{ binary-ext }"
pkg-fmt = "txz"
[features]
default = ["tui"]
tui = [
"dep:ratatui",
"dep:unicode-width",
"tokio/signal",
]
[[bin]]
name = "runnerctl"
path = "src/main.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "tui"
path = "tests/tui.rs"
[dependencies.clap]
version = "4.6.7"
features = ["derive"]
[dependencies.qrcode]
version = "0.14.1"
default-features = false
[dependencies.ratatui]
version = "0.30.2"
features = [
"crossterm",
"layout-cache",
]
optional = true
default-features = false
[dependencies.runnerd-core]
version = "0.0.14"
features = ["client"]
default-features = false
[dependencies.rustix]
version = "1.1.5"
features = [
"std",
"process",
"termios",
]
default-features = false
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.154"
[dependencies.serde_urlencoded]
version = "0.7.1"
[dependencies.tokio]
version = "1.54.1"
features = [
"io-util",
"macros",
"net",
"rt",
"sync",
"time",
]
[dependencies.unicode-width]
version = "0.2.2"
optional = true
[dev-dependencies.axum]
version = "0.8.9"
features = [
"http1",
"json",
"query",
"tokio",
]
default-features = false
[dev-dependencies.futures-util]
version = "0.3.34"
[dev-dependencies.rustix]
version = "1.1.5"
features = [
"std",
"fs",
"process",
"pty",
"termios",
]
default-features = false
[dev-dependencies.tokio]
version = "1.54.1"
features = [
"macros",
"net",
"rt-multi-thread",
"time",
]
[lints.clippy]
allow_attributes_without_reason = "warn"
await_holding_lock = "warn"
dbg_macro = "warn"
expect_used = "warn"
large_futures = "warn"
missing_errors_doc = "allow"
must_use_candidate = "allow"
panic = "warn"
print_stderr = "warn"
print_stdout = "warn"
todo = "warn"
unimplemented = "warn"
unused_async_trait_impl = "allow"
unwrap_used = "warn"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
unused_qualifications = "warn"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1