workspace: Enable vendored `libgit2`

Multiple crates are enabling this feature. Do that at the workspace
level.
This commit is contained in:
Lorenz Leutgeb 2025-10-05 14:10:45 +02:00
parent b7cfcfff75
commit efe10f95be
No known key found for this signature in database
3 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ crossbeam-channel = "0.5.6"
cyphernet = "0.5.2" cyphernet = "0.5.2"
dunce = "1.0.5" dunce = "1.0.5"
fastrand = { version = "2.0.0", default-features = false } fastrand = { version = "2.0.0", default-features = false }
git2 = { version = "0.19.0", default-features = false } git2 = { version = "0.19.0", default-features = false, features = ["vendored-libgit2"] }
human-panic = "2" human-panic = "2"
itertools = "0.14" itertools = "0.14"
lexopt = "0.3.0" lexopt = "0.3.0"

View File

@ -22,7 +22,7 @@ test = []
[dependencies] [dependencies]
fastrand = { workspace = true } fastrand = { workspace = true }
git-ref-format-core = { workspace = true } git-ref-format-core = { workspace = true }
git2 = { workspace = true, optional = true, features = ["vendored-libgit2"] } git2 = { workspace = true, optional = true }
log = { workspace = true } log = { workspace = true }
nonempty = { workspace = true, features = ["serialize"] } nonempty = { workspace = true, features = ["serialize"] }
radicle-crypto = { workspace = true, features = ["ssh"] } radicle-crypto = { workspace = true, features = ["ssh"] }

View File

@ -24,7 +24,7 @@ thiserror = { workspace = true }
unicode-display-width = "0.3.0" unicode-display-width = "0.3.0"
unicode-segmentation = "1.7.1" unicode-segmentation = "1.7.1"
zeroize = { workspace = true } zeroize = { workspace = true }
git2 = { workspace = true, features = ["vendored-libgit2"], optional = true } git2 = { workspace = true, optional = true }
shlex = { workspace = true } shlex = { workspace = true }
[target.'cfg(unix)'.dependencies] [target.'cfg(unix)'.dependencies]