From 61314b1853dd3aeb4b7d3381651e778b5b2aa342 Mon Sep 17 00:00:00 2001 From: x0f5c3 Date: Sun, 14 Nov 2021 18:33:48 +0100 Subject: [PATCH] Move to vendored openssl to allow for cross compilation --- Cargo.lock | 10 ++++++++++ Cargo.toml | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 58d4868..ba5449e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1124,6 +1124,15 @@ version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "28988d872ab76095a6e6ac88d99b54fd267702734fd7ffe610ca27f533ddb95a" +[[package]] +name = "openssl-src" +version = "111.16.0+1.1.1l" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ab2173f69416cf3ec12debb5823d244127d23a9b127d5a5189aa97c5fa2859f" +dependencies = [ + "cc", +] + [[package]] name = "openssl-sys" version = "0.9.67" @@ -1133,6 +1142,7 @@ dependencies = [ "autocfg 1.0.1", "cc", "libc", + "openssl-src", "pkg-config", "vcpkg", ] diff --git a/Cargo.toml b/Cargo.toml index 623ef1b..ff10676 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "go_version_manager" -version = "0.8.0" +version = "0.8.1" authors = ["x0f5c3 "] edition = "2018" description = "A small program to download chosen golang version" @@ -24,7 +24,7 @@ structopt = { version = "0.3.21", features = ["paw", "wrap_help"] } directories = "4.0.1" paw = "*" console = "0.14.0" -git2 = { version = "*", features = ["vendored-libgit2"] } +git2 = { version = "*", features = ["vendored-libgit2", "vendored-openssl"] } num_cpus = "1.13.0" #reqwest = { version = "0.11.3", features = ["rustls", "blocking"] } thiserror = "1.0.22"