gitbutler/gitbutler-git/Cargo.toml

42 lines
940 B
TOML
Raw Normal View History

2024-01-17 18:21:21 +03:00
[package]
name = "gitbutler-git"
version = "0.0.0"
edition = "2021"
[lib]
path = "src/lib.rs"
[[bin]]
name = "gitbutler-git-askpass"
path = "src/bin/askpass.rs"
[[bin]]
name = "gitbutler-git-setsid"
path = "src/bin/setsid.rs"
2024-01-17 18:21:21 +03:00
[features]
default = ["serde", "tokio"]
2024-01-17 18:21:21 +03:00
serde = ["dep:serde"]
tokio = ["dep:tokio"]
2024-01-17 18:21:21 +03:00
[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.27.1", 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"