2024-01-17 18:21:21 +03:00
|
|
|
[package]
|
|
|
|
name = "gitbutler-git"
|
|
|
|
version = "0.0.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
2024-01-24 04:54:17 +03:00
|
|
|
[lib]
|
|
|
|
path = "src/lib.rs"
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "gitbutler-git-askpass"
|
2024-03-21 21:22:26 +03:00
|
|
|
path = "src/bin/askpass.rs"
|
2024-01-24 04:54:17 +03:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "gitbutler-git-setsid"
|
2024-03-21 21:22:26 +03:00
|
|
|
path = "src/bin/setsid.rs"
|
2024-01-24 04:54:17 +03:00
|
|
|
|
2024-01-17 18:21:21 +03:00
|
|
|
[features]
|
2024-03-19 10:25:57 +03:00
|
|
|
default = ["serde", "tokio"]
|
2024-01-17 18:21:21 +03:00
|
|
|
serde = ["dep:serde"]
|
2024-01-18 00:31:51 +03:00
|
|
|
tokio = ["dep:tokio"]
|
2024-01-17 18:21:21 +03:00
|
|
|
|
|
|
|
[dependencies]
|
2024-02-07 14:55:23 +03:00
|
|
|
thiserror.workspace = true
|
2024-01-18 00:31:51 +03:00
|
|
|
serde = { workspace = true, optional = true }
|
2024-02-07 14:55:23 +03:00
|
|
|
tokio = { workspace = true, optional = true, features = ["process", "rt", "process", "time", "io-util", "net", "fs", "sync"]}
|
2024-03-19 10:25:57 +03:00
|
|
|
rand = "0.8.5"
|
|
|
|
futures = "0.3.30"
|
|
|
|
sysinfo = "0.30.5"
|
2024-01-24 04:54:17 +03:00
|
|
|
|
|
|
|
[target."cfg(unix)".dependencies]
|
2024-03-19 10:25:57 +03:00
|
|
|
nix = { version = "0.27.1", features = ["process", "socket", "user"] }
|
2024-03-21 21:22:26 +03:00
|
|
|
|
|
|
|
[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"
|