From 89ef9022c584e9b5ef18f9712e232d1b527f2c95 Mon Sep 17 00:00:00 2001 From: jiwonz Date: Thu, 12 Dec 2024 00:29:04 +0900 Subject: [PATCH] Vendor openssl with git2 --- Cargo.lock | 12 +++++++++++- Cargo.toml | 7 +++++-- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4e2be79..072d402 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -364,7 +364,7 @@ dependencies = [ [[package]] name = "dalbit" -version = "0.1.0" +version = "0.1.1" dependencies = [ "anstyle", "anyhow", @@ -1166,6 +1166,15 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" +[[package]] +name = "openssl-src" +version = "300.4.1+3.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "faa4eac4138c62414b5622d1b31c5c304f34b406b013c079c2bbc652fdd6678c" +dependencies = [ + "cc", +] + [[package]] name = "openssl-sys" version = "0.9.104" @@ -1174,6 +1183,7 @@ checksum = "45abf306cbf99debc8195b66b7346498d7b10c210de50418b5ccd7ceba08c741" dependencies = [ "cc", "libc", + "openssl-src", "pkg-config", "vcpkg", ] diff --git a/Cargo.toml b/Cargo.toml index cc02d1a..3b73077 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dalbit" -version = "0.1.0" +version = "0.1.1" authors = ["jiwonz"] edition = "2021" description = "A Luau-to-Lua transpiler" @@ -29,7 +29,6 @@ auth-git2 = "0.5.5" blake3 = "1.5.4" clap = { version = "4.5.20", features = ["derive"] } dirs = "5.0.1" -git2 = "0.19.0" hex = "0.4.3" serde = { version = "1.0.214", features = ["derive"] } strfmt = "0.2.4" @@ -49,3 +48,7 @@ anstyle = "1.0.10" indexmap = { version = "2.7.0", features = ["serde"] } url = { version = "2.5.4", features = ["serde"] } fs-err = "3.0.0" + +[dependencies.git2] +features = ["vendored-openssl"] +version = "*"