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-04-23 19:34:07 +03:00
|
|
|
## a flag that is needed for integration tests that run this code to work.
|
2024-04-23 18:24:59 +03:00
|
|
|
test-askpass-path = []
|
|
|
|
|
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-04-18 14:39:32 +03:00
|
|
|
tokio = { workspace = true, optional = true, features = ["process", "time", "io-util", "net", "fs"] }
|
2024-05-07 16:15:25 +03:00
|
|
|
uuid.workspace = true
|
2024-03-19 10:25:57 +03:00
|
|
|
rand = "0.8.5"
|
|
|
|
futures = "0.3.30"
|
2024-05-01 18:11:55 +03:00
|
|
|
sysinfo = "0.30.11"
|
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"] }
|
2024-04-18 14:39:32 +03:00
|
|
|
tokio = { workspace = true, optional = true, features = ["sync"] }
|
2024-03-21 21:22:26 +03:00
|
|
|
# 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"
|