From c9fc2148e20865a3e03bbcda8c0f993f6b8c1944 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sun, 10 Mar 2024 10:25:18 +0000 Subject: [PATCH] chore: enable building with latest version of rust (#14) Closes kemitix/paperoni#13 Reviewed-on: https://git.kemitix.net/kemitix/paperoni/pulls/14 Co-authored-by: Paul Campbell Co-committed-by: Paul Campbell --- .woodpecker.yml | 4 ++-- Cargo.lock | 6 +++--- Cargo.toml | 1 + 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 0072a71..de19820 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -5,7 +5,7 @@ steps: - event: push branch: main - event: pull_request - image: docker.io/rust:1.52.1 + image: docker.io/rust:latest commands: - apt-get install libssl-dev - cargo build @@ -15,6 +15,6 @@ steps: - event: push branch: main - event: pull_request - image: docker.io/rust:1.52.1 + image: docker.io/rust:latest commands: - cargo test diff --git a/Cargo.lock b/Cargo.lock index 6b176cd..eb7f2a5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1539,11 +1539,10 @@ checksum = "77af24da69f9d9341038eba93a073b1fdaaa1b788221b00a69bce9e762cb32de" [[package]] name = "openssl-sys" -version = "0.9.62" +version = "0.9.101" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa52160d45fa2e7608d504b7c3a3355afed615e6d8b627a74458634ba21b69bd" +checksum = "dda2b0f344e78efc2facf7d195d098df0dd72151b26ab98da807afc26c198dff" dependencies = [ - "autocfg", "cc", "libc", "pkg-config", @@ -1572,6 +1571,7 @@ dependencies = [ "lazy_static", "log 0.4.14", "md5", + "openssl-sys", "regex", "surf", "thiserror", diff --git a/Cargo.toml b/Cargo.toml index 5761beb..f73321f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -31,6 +31,7 @@ kuchiki = "0.8.1" lazy_static = "1.4.0" log = "0.4.14" md5 = "0.7.0" +openssl-sys = "0.9.101" regex = "1.5.4" surf = "2.2.0" thiserror = "1.0.25"