[package]
edition = "2024"
rust-version = "1.85.0"
name = "git-spawn"
version = "0.1.0"
authors = ["Josh Rotenberg <joshrotenberg@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async wrapper around the git CLI: builder commands, typed parsers, high-level workflow helpers"
homepage = "https://github.com/joshrotenberg/git-spawn"
documentation = "https://docs.rs/git-spawn"
readme = "README.md"
keywords = [
"git",
"cli",
"wrapper",
"vcs",
]
categories = [
"development-tools",
"api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/joshrotenberg/git-spawn"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = ["parse"]
parse = []
serde = ["dep:serde"]
workflow = ["parse"]
[lib]
name = "git_spawn"
path = "src/lib.rs"
[[example]]
name = "clone_and_log"
path = "examples/clone_and_log.rs"
[[example]]
name = "commit_counter"
path = "examples/commit_counter.rs"
[[example]]
name = "status_summary"
path = "examples/status_summary.rs"
[[test]]
name = "advanced"
path = "tests/advanced.rs"
[[test]]
name = "advanced_args"
path = "tests/advanced_args.rs"
[[test]]
name = "build_args"
path = "tests/build_args.rs"
[[test]]
name = "plumbing"
path = "tests/plumbing.rs"
[[test]]
name = "porcelain"
path = "tests/porcelain.rs"
[[test]]
name = "workflow"
path = "tests/workflow.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.46"
features = [
"process",
"rt-multi-thread",
"macros",
"time",
"io-util",
"sync",
]
[dependencies.tracing]
version = "0.1"
[dependencies.which]
version = "8.0"
[dev-dependencies.serial_test]
version = "3.3.1"
[dev-dependencies.tempfile]
version = "3.0"
[dev-dependencies.tokio]
version = "1.46"
features = ["full"]
[dev-dependencies.tokio-test]
version = "0.4"
[dev-dependencies.tracing-subscriber]
version = "0.3"