2024-01-17 18:21:21 +03:00
|
|
|
[package]
|
|
|
|
name = "gitbutler-git"
|
|
|
|
version = "0.0.0"
|
|
|
|
edition = "2021"
|
2024-03-27 19:35:41 +03:00
|
|
|
publish = false
|
2024-01-17 18:21:21 +03:00
|
|
|
|
2024-01-24 04:54:17 +03:00
|
|
|
[lib]
|
|
|
|
path = "src/lib.rs"
|
2024-03-27 19:49:51 +03:00
|
|
|
doctest = false
|
2024-01-24 04:54:17 +03:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "gitbutler-git-askpass"
|
2024-03-21 21:22:26 +03:00
|
|
|
path = "src/bin/askpass.rs"
|
2024-03-27 19:49:51 +03:00
|
|
|
test = false
|
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-03-27 19:49:51 +03:00
|
|
|
test = false
|
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-03-27 19:35:41 +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-27 21:57:36 +03:00
|
|
|
nix = { version = "0.28.0", 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"
|
2024-03-25 20:01:43 +03:00
|
|
|
|
|
|
|
[lints.clippy]
|
|
|
|
all = "deny"
|
|
|
|
perf = "deny"
|
|
|
|
correctness = "deny"
|