From 3410cfdbe154809856eae241389d233e642967df Mon Sep 17 00:00:00 2001 From: Christopher Rabotin Date: Fri, 30 Dec 2022 07:53:06 -0700 Subject: [PATCH] Add openssl vendored for ut1 feature Signed-off-by: Christopher Rabotin --- .github/workflows/python.yml | 6 ------ Cargo.toml | 3 ++- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 3fe19429..8308e185 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -14,12 +14,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - - name: Install OpenSSL - run: | - sudo apt-get update - sudo apt-get install pkg-config libssl-dev -y - - uses: messense/maturin-action@v1 with: manylinux: auto diff --git a/Cargo.toml b/Cargo.toml index c5c48e89..29de1014 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,6 +26,7 @@ num-traits = {version = "0.2.15", default-features = false, features = ["libm"]} lexical-core = {version = "0.8.5", default-features = false, features = ["parse-integers", "parse-floats"]} reqwest = { version = "0.11", features = ["blocking", "json"], optional = true} tabled = {version = "0.10.0", optional = true} +openssl = { version = "0.10", features = ["vendored"], optional = true } [dev-dependencies] serde_json = "1.0.91" @@ -37,7 +38,7 @@ default = ["std"] std = ["serde", "serde_derive"] asn1der = ["der"] python = ["std", "asn1der", "pyo3", "ut1"] -ut1 = ["std", "reqwest", "tabled"] +ut1 = ["std", "reqwest", "tabled", "openssl"] [[bench]] name = "bench_epoch"