[package]
edition = "2021"
rust-version = "1.80"
name = "gitr"
version = "0.5.0"
authors = ["Evgeny Khodzitsky"]
build = false
exclude = [
".git",
"target",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async typed git CLI wrapper for agents and automation."
readme = false
keywords = [
"git",
"async",
"cli",
"agent",
"worktree",
]
categories = [
"development-tools",
"asynchronous",
]
license = "MIT"
repository = "https://github.com/ekhodzitsky/gitr"
[features]
default = []
metrics = ["dep:metrics"]
serde = ["dep:serde"]
stream = ["dep:tokio-stream"]
test-utils = []
tracing = ["dep:tracing"]
[lib]
name = "gitr"
path = "src/lib.rs"
[[test]]
name = "repo"
path = "tests/repo.rs"
[[bench]]
name = "gitr_bench"
path = "benches/gitr_bench.rs"
harness = false
[[bench]]
name = "ops"
path = "benches/ops.rs"
harness = false
[dependencies.async-trait]
version = "0.1"
[dependencies.metrics]
version = "0.24"
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
[dependencies.tokio]
version = "1.44"
features = [
"rt-multi-thread",
"macros",
"process",
"time",
"fs",
"io-util",
"macros",
"process",
"rt",
"sync",
"time",
]
[dependencies.tokio-stream]
version = "0.1"
features = ["io-util"]
optional = true
[dependencies.tokio-util]
version = "0.7"
features = ["rt"]
[dependencies.tracing]
version = "0.1"
optional = true
[dev-dependencies.criterion]
version = "0.5"
features = ["async_tokio"]
[dev-dependencies.half]
version = "<2.7"
[dev-dependencies.insta]
version = "1.40"
features = [
"yaml",
"json",
]
[dev-dependencies.proptest]
version = "~1.5"
[dev-dependencies.tempfile]
version = "~3.14"
[dev-dependencies.tokio]
version = "1.44"
features = [
"rt-multi-thread",
"macros",
"process",
"time",
"rt-multi-thread",
"test-util",
]
[dev-dependencies.tracing-subscriber]
version = "0.3"