From 0687dc7255530596f77b7c834aefadab2b76f58b Mon Sep 17 00:00:00 2001 From: Justin Wernick Date: Wed, 8 Mar 2023 15:47:40 +0200 Subject: Vendor git2 to make it easier to deploy shackle without dynamic libs --- Cargo.lock | 37 ------------------------------------- Cargo.toml | 2 +- readme.org | 4 ++-- 3 files changed, 3 insertions(+), 40 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 76e0078..59f908d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -143,8 +143,6 @@ dependencies = [ "libc", "libgit2-sys", "log", - "openssl-probe", - "openssl-sys", "url", ] @@ -209,26 +207,10 @@ checksum = "7f3d95f6b51075fe9810a7ae22c7095f12b98005ab364d8544797a825ce946a4" dependencies = [ "cc", "libc", - "libssh2-sys", "libz-sys", - "openssl-sys", "pkg-config", ] -[[package]] -name = "libssh2-sys" -version = "0.2.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b094a36eb4b8b8c8a7b4b8ae43b2944502be3e59cd87687595cf6b0a71b3f4ca" -dependencies = [ - "cc", - "libc", - "libz-sys", - "openssl-sys", - "pkg-config", - "vcpkg", -] - [[package]] name = "libz-sys" version = "1.1.8" @@ -307,25 +289,6 @@ version = "1.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3" -[[package]] -name = "openssl-probe" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" - -[[package]] -name = "openssl-sys" -version = "0.9.80" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23bbbf7854cd45b83958ebe919f0e8e516793727652e27fda10a8384cfc790b7" -dependencies = [ - "autocfg", - "cc", - "libc", - "pkg-config", - "vcpkg", -] - [[package]] name = "percent-encoding" version = "2.2.0" diff --git a/Cargo.toml b/Cargo.toml index 1f70f9a..e9a1547 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -git2 = "0.16.1" +git2 = { version = "0.16.1", default-features = false, features = ["vendored-libgit2"] } nom = "7.1.3" rexpect = "0.5.0" thiserror = "1.0.38" diff --git a/readme.org b/readme.org index 9288d44..f55eddc 100644 --- a/readme.org +++ b/readme.org @@ -18,10 +18,10 @@ Pijul. - [X] git init of private repo - [X] responds to unknown commands - [X] Isolation of workdir between tests -- [ ] git fetch - - git receive-pack - [ ] git push - git upload-pack , git upload-archive +- [ ] git fetch + - git receive-pack - [ ] git init of shared repos - [ ] help command - [ ] listing of repos -- cgit v1.2.3