diff --git a/.forgejo/workflows/push-main.yml b/.forgejo/workflows/push-main.yml index c073b30..33f6537 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.0.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 d8bac7f..008b339 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.0.0 + git.kemitix.net/kemitix/rust:v4.0.1 strategy: matrix: diff --git a/Cargo.toml b/Cargo.toml index 391b7eb..3adb93b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,3 +16,7 @@ exclude = [".cargo_home"] [dependencies] clap = { version = "4.5", features = ["derive"] } mutants = "0.0" +native-tls = { version = "0.2", features = ["vendored"] } + +[package.metadata.cargo-machete] +ignored = ["native-tls"] diff --git a/justfile b/justfile index 478e8e6..5ca869c 100644 --- a/justfile +++ b/justfile @@ -1,6 +1,12 @@ dist: target-release if test ! -d dist ; then mkdir dist ; fi cp target/release/skip dist/ + +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 target-release: unittest inttest cargo build --release