From 4f7b5d4590aad73c5a95bf7ab9be05f6ffecdfb1 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Thu, 16 Jan 2025 10:03:20 +0000 Subject: [PATCH] chore(deps): update git.kemitix.net/kemitix/rust docker tag to v4 --- .forgejo/workflows/push-main.yml | 2 +- .forgejo/workflows/push-next.yml | 2 +- Cargo.lock | 11 +++++++++++ Cargo.toml | 4 ++++ justfile | 6 ++++++ 5 files changed, 23 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/push-main.yml b/.forgejo/workflows/push-main.yml index 774b8bc..10be2e5 100644 --- a/.forgejo/workflows/push-main.yml +++ b/.forgejo/workflows/push-main.yml @@ -19,7 +19,7 @@ jobs: container: image: - git.kemitix.net/kemitix/rust:v3.1.0 + git.kemitix.net/kemitix/rust:v4.0.1 steps: - name: Checkout repository diff --git a/.forgejo/workflows/push-next.yml b/.forgejo/workflows/push-next.yml index c9e4f75..cb1a54f 100644 --- a/.forgejo/workflows/push-next.yml +++ b/.forgejo/workflows/push-next.yml @@ -18,7 +18,7 @@ jobs: container: image: - git.kemitix.net/kemitix/rust:v3.1.0 + git.kemitix.net/kemitix/rust:v4.0.1 strategy: matrix: diff --git a/Cargo.lock b/Cargo.lock index 13242cf..c020428 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -899,6 +899,15 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" +[[package]] +name = "openssl-src" +version = "111.28.2+1.1.1w" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb1830e20a48a975ca898ca8c1d036a36c3c6c5cb7dabc1c216706587857920f" +dependencies = [ + "cc", +] + [[package]] name = "openssl-sys" version = "0.9.90" @@ -907,6 +916,7 @@ checksum = "374533b0e45f3a7ced10fcaeccca020e66656bc03dac384f852e4e5a7a8104a6" dependencies = [ "cc", "libc", + "openssl-src", "pkg-config", "vcpkg", ] @@ -1057,6 +1067,7 @@ dependencies = [ "atom_syndication", "bytes", "clap", + "native-tls", "pretty_assertions", "reqwest", "scraper", diff --git a/Cargo.toml b/Cargo.toml index 2c7bd88..f656e30 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,6 +12,10 @@ scraper = "0.22" clap = { version = "4.5", features = ["derive"] } bytes = "1.6" anyhow = "1.0" +native-tls = { version = "0.2", features = ["vendored"] } + +[package.metadata.cargo-machete] +ignored = ["native-tls"] [dev-dependencies] tempfile = "3.10" diff --git a/justfile b/justfile index 933e5e8..4facbc9 100644 --- a/justfile +++ b/justfile @@ -2,6 +2,12 @@ coverage-init: cargo install grcov rustup component add llvm-tools +test-in-docker: + docker run --rm -v $PWD:/app/ git.kemitix.net/kemitix/rust:latest cargo test + +shell-in-docker: + docker run --rm -it -v $PWD:/app/ git.kemitix.net/kemitix/rust:latest bash + coverage: #!/usr/bin/env bash set -e