From 1c099a34a62eab5f75ae2421035a02d75649e2f3 Mon Sep 17 00:00:00 2001 From: Alexis Date: Tue, 5 Nov 2024 17:37:56 +0100 Subject: [PATCH] Remove vendored Signed-off-by: Alexis --- .github/workflows/CI.yml | 2 +- rust/Cargo.lock | 10 ---------- rust/Cargo.toml | 2 +- 3 files changed, 2 insertions(+), 12 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 769c1a6..11b66f4 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -42,7 +42,7 @@ jobs: if command -v yum 2>&1 >/dev/null then yum update - yum install -y perl-core cpanminus devtoolset-10-libatomic-devel + yum install -y perl-core cpanminus devtoolset-10-libatomic-devel openssl-devel # Workaround for OpenSSL not building on Centos 7 (manylinux2014) # Remove once `openssl-src` builds OpenSSL > 3.3.2 by default # Ref: https://github.com/openssl/openssl/pull/25367#issuecomment-2327177830 diff --git a/rust/Cargo.lock b/rust/Cargo.lock index 40b52f5..560ff6a 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -202,15 +202,6 @@ dependencies = [ "syn", ] -[[package]] -name = "openssl-src" -version = "300.4.0+3.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a709e02f2b4aca747929cca5ed248880847c650233cf8b8cdc48f40aaf4898a6" -dependencies = [ - "cc", -] - [[package]] name = "openssl-sys" version = "0.9.104" @@ -219,7 +210,6 @@ checksum = "45abf306cbf99debc8195b66b7346498d7b10c210de50418b5ccd7ceba08c741" dependencies = [ "cc", "libc", - "openssl-src", "pkg-config", "vcpkg", ] diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 6acdc4f..98085a9 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -21,7 +21,7 @@ hex = "0.4" sha2 = "0.10.8" rand = "0.8.5" cryptography-x509 = { git = "https://github.com/pyca/cryptography.git", rev = "a63ca251a7aa8a5aac6153e0b69083cb05e1a6d0" } -openssl = { version = "0.10.68", features = ["vendored"] } +openssl = "0.10.68" [features] extension-module = ["pyo3/extension-module"]