[package]
edition = "2024"
rust-version = "1.91"
name = "vcs-runner"
version = "0.7.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Subprocess runner for jj and git with retry, repo detection, and structured jj output parsing"
homepage = "https://github.com/michaeldhopkins/vcs-runner"
readme = "README.md"
keywords = [
"jujutsu",
"jj",
"git",
"subprocess",
"vcs",
]
categories = ["development-tools"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/michaeldhopkins/vcs-runner"
[features]
default = ["jj-parse"]
jj-parse = [
"dep:serde",
"dep:serde_json",
]
[lib]
name = "vcs_runner"
path = "src/lib.rs"
[dependencies.anyhow]
version = "1"
[dependencies.backon]
version = "1"
features = [
"std",
"std-blocking-sleep",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dependencies.serde_json]
version = "1"
optional = true
[dev-dependencies.serde]
version = "1"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[lints.clippy]
bool_to_int_with_if = "warn"
cognitive-complexity = "warn"
collapsible-if = "deny"
extend_with_drain = "deny"
fn-params-excessive-bools = "deny"
match_bool = "warn"
needless-range-loop = "deny"
struct-excessive-bools = "deny"
too-many-arguments = "deny"
too-many-lines = "warn"
unwrap_used = "deny"