refactor(deps): replace git2 with system git and add vcs support

This commit is contained in:
2026-06-13 15:28:14 +08:00
parent 39fad31c4f
commit 838be72dd2
13 changed files with 415 additions and 212 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "dcr"
version = "0.7.2"
version = "0.7.3"
edition = "2024"
build = "build.rs"
description = "DCR is a utility for managing C/C++ projects in a Cargo-like style."
@@ -69,21 +69,6 @@ toml = "1.0.3"
serde_json = "1"
ctrlc = "3"
[features]
default = ["vendored"]
vendored = [
"git2/vendored-libgit2",
"git2/vendored-openssl",
"openssl/vendored",
]
[target.'cfg(not(windows))'.dependencies]
git2 = "0.20.4"
openssl = "0.10"
[target.'cfg(windows)'.dependencies]
git2 = "0.20.4"
[profile.release]
opt-level = "z"
lto = "thin"