From 46bf99a4a4d04506787e641aab89aff15714db3e Mon Sep 17 00:00:00 2001 From: kazeno Date: Tue, 22 Oct 2024 01:02:12 +0800 Subject: [PATCH] add openssl vendored feature & bump version to 0.5.1 --- Cargo.lock | 13 ++++++++++++- Cargo.toml | 3 ++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 53735b2..e962691 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1754,7 +1754,7 @@ dependencies = [ [[package]] name = "mdbook-typst-pdf" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "chrono", @@ -1770,6 +1770,7 @@ dependencies = [ "mdbook", "notify", "once_cell", + "openssl", "parking_lot", "pathdiff", "pulldown-cmark 0.12.2", @@ -2055,6 +2056,15 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" +[[package]] +name = "openssl-src" +version = "300.3.2+3.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a211a18d945ef7e648cc6e0058f4c548ee46aab922ea203e0d30e966ea23647b" +dependencies = [ + "cc", +] + [[package]] name = "openssl-sys" version = "0.9.104" @@ -2063,6 +2073,7 @@ checksum = "45abf306cbf99debc8195b66b7346498d7b10c210de50418b5ccd7ceba08c741" dependencies = [ "cc", "libc", + "openssl-src", "pkg-config", "vcpkg", ] diff --git a/Cargo.toml b/Cargo.toml index aefbc25..ad9b652 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mdbook-typst-pdf" -version = "0.5.0" +version = "0.5.1" edition = "2021" license = "MIT OR Apache-2.0" repository = "https://github.com/KaiserY/mdbook-typst-pdf" @@ -45,6 +45,7 @@ html5ever = "0.29.0" regex = "1.11.0" parking_lot = "0.12.3" notify = "6" +openssl = { version = "0.10.68" , features = ["vendored"] } # The profile that 'cargo dist' will build with [profile.dist]