gitbutler/crates/gitbutler-git/Cargo.toml
Sebastian Thiel 884f8a742d
chore(git): don't build doc-tests, or unit-tests of binaries
There are no doctests and it's unlikely there will be anytime soon
as this library isn't for publishing.

The binaries did try to build unit-tests as well even though these
aren't quite feasible, so they are disabled now to reduce clutter.
2024-04-04 13:46:07 +02:00

46 lines
999 B
TOML

[package]
name = "gitbutler-git"
version = "0.0.0"
edition = "2021"
publish = false
[lib]
path = "src/lib.rs"
doctest = false
[[bin]]
name = "gitbutler-git-askpass"
path = "src/bin/askpass.rs"
test = false
[[bin]]
name = "gitbutler-git-setsid"
path = "src/bin/setsid.rs"
test = false
[features]
default = ["serde", "tokio"]
serde = ["dep:serde"]
tokio = ["dep:tokio"]
[dependencies]
thiserror.workspace = true
serde = { workspace = true, optional = true }
tokio = { workspace = true, optional = true, features = ["process", "rt", "process", "time", "io-util", "net", "fs", "sync"] }
rand = "0.8.5"
futures = "0.3.30"
sysinfo = "0.30.5"
[target."cfg(unix)".dependencies]
nix = { version = "0.28.0", features = ["process", "socket", "user"] }
[target."cfg(windows)".dependencies]
winapi = { version = "0.3.9", features = ["winbase", "namedpipeapi"] }
# synchronous named pipes for the askpass utility
windows-named-pipe = "0.1.0"
[lints.clippy]
all = "deny"
perf = "deny"
correctness = "deny"