radicle-tauri: Depend on git2

The `radicle` crate does not re-export `Config`
anymore, thus depend on `git2` directly.
This commit is contained in:
Lorenz Leutgeb
2026-03-21 18:55:19 +01:00
parent 3e5d277df8
commit 34706164e5
3 changed files with 3 additions and 1 deletions
Generated
+1
View File
@@ -4301,6 +4301,7 @@ dependencies = [
"anyhow",
"base64 0.22.1",
"either",
"git2",
"infer",
"log",
"radicle",
+1
View File
@@ -18,6 +18,7 @@ tauri-build = { version = "2.2.0", features = ["isolation"] }
anyhow = { version = "1.0.90" }
base64 = { version = "0.22.1" }
either = { version = "1.15" }
git2 = { version = "0.20.4", default-features = false, features = ["vendored-libgit2"] }
infer = { version = "0.19.0" }
log = { version = "0.4.22" }
radicle = { version = "0.22" }
+1 -1
View File
@@ -98,7 +98,7 @@ pub(crate) async fn create_repo(
let profile = &ctx.profile;
let storage = &profile.storage;
let signer = ctx.profile.signer()?;
let config = radicle::git::raw::Config::open_default()?;
let config = git2::Config::open_default()?;
// SAFETY: "master" is always a valid RefString
let default_branch = git::RefString::try_from(
config