From 21edd365c6764e7fa2f7749516b71268e612f4a8 Mon Sep 17 00:00:00 2001 From: CosminPerRam Date: Tue, 17 Jun 2025 20:49:08 +0300 Subject: [PATCH 1/3] ci: remove nightly args from msrv --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 66a517d..ec3182b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,9 +61,9 @@ jobs: - uses: actions/checkout@v4 - name: Install Rust (rustup) run: | - rustup toolchain install ${version} nightly --profile minimal --no-self-update + rustup toolchain install ${version} --profile minimal --no-self-update rustup default ${version} - cargo +nightly update -Zminimal-versions + cargo update -Zminimal-versions shell: bash - run: cargo build - run: cargo build --all-features From 71ebd3a47caa3c761ee133c7263aa84b2e607047 Mon Sep 17 00:00:00 2001 From: CosminPerRam Date: Tue, 17 Jun 2025 20:51:07 +0300 Subject: [PATCH 2/3] ci: remove minimal features from cargo update --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ec3182b..28f9fc9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,7 +63,7 @@ jobs: run: | rustup toolchain install ${version} --profile minimal --no-self-update rustup default ${version} - cargo update -Zminimal-versions + cargo update shell: bash - run: cargo build - run: cargo build --all-features From eb731d25ad51fdf2c876104c050d710a2390a24e Mon Sep 17 00:00:00 2001 From: CosminPerRam Date: Tue, 17 Jun 2025 20:59:48 +0300 Subject: [PATCH 3/3] fix: set minimum log version to 0.4.4 --- .github/workflows/ci.yml | 4 ++-- Cargo.toml | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 28f9fc9..66a517d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,9 +61,9 @@ jobs: - uses: actions/checkout@v4 - name: Install Rust (rustup) run: | - rustup toolchain install ${version} --profile minimal --no-self-update + rustup toolchain install ${version} nightly --profile minimal --no-self-update rustup default ${version} - cargo update + cargo +nightly update -Zminimal-versions shell: bash - run: cargo build - run: cargo build --all-features diff --git a/Cargo.toml b/Cargo.toml index 2b86459..bf8e0c5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,4 +20,5 @@ logging = ["dep:log"] [dependencies] serde = { version = "1.0", optional = true } -log = { version = "0.4", optional = true} +log = { version = ">=0.4.4", optional = true } +# versions less than this do not compile due to custom #[macro_export] macros