From 5d8c95dbdbb50203285d38d4587a0acab879e5c7 Mon Sep 17 00:00:00 2001 From: Alexander Korolev Date: Sun, 21 Apr 2024 12:45:55 +0200 Subject: [PATCH 1/3] run CI tests with particular Rust version --- .github/workflows/rust.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index e71837f..c04b8e6 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -12,7 +12,8 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@1.65.0 - name: Build run: cargo build --verbose - name: Run tests @@ -21,6 +22,10 @@ jobs: run: cargo build --features uma2 - name: Run tests with UMA2 run: cargo test --verbose --features uma2 + - name: Build with Microsoft feature + run: cargo build --features microsoft + - name: Run tests with Microsoft feature + run: cargo test --verbose --features uma2 - name: Build with rustls run: cargo build --no-default-features --features rustls - name: Run tests with rustls From 056c98331f55ed867e3ef7e3cf0d583eef69403f Mon Sep 17 00:00:00 2001 From: Alexander Korolev Date: Sun, 21 Apr 2024 12:50:49 +0200 Subject: [PATCH 2/3] deps update --- .github/workflows/rust.yml | 10 +++++----- Cargo.toml | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index c04b8e6..f80c40b 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -15,18 +15,18 @@ jobs: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@1.65.0 - name: Build - run: cargo build --verbose + run: cargo build - name: Run tests - run: cargo test --verbose + run: cargo test - name: Build with UMA2 run: cargo build --features uma2 - name: Run tests with UMA2 - run: cargo test --verbose --features uma2 + run: cargo test --features uma2 - name: Build with Microsoft feature run: cargo build --features microsoft - name: Run tests with Microsoft feature - run: cargo test --verbose --features uma2 + run: cargo test --features uma2 - name: Build with rustls run: cargo build --no-default-features --features rustls - name: Run tests with rustls - run: cargo test --no-default-features --verbose --features rustls + run: cargo test --no-default-features --features rustls diff --git a/Cargo.toml b/Cargo.toml index b48a156..f36f913 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,10 +24,10 @@ rustls = ["reqwest/rustls-tls"] [dependencies] lazy_static = "1.4" serde_json = { version = "1", default-features = false } -base64 = "0.21" -biscuit = "0.6" +base64 = "0.22" +biscuit = "0.7" thiserror = "1" -validator = { version = "0.16", features = ["derive"] } +validator = { version = "0.18", features = ["derive"] } mime = "0.3" [dependencies.url] @@ -46,6 +46,6 @@ default-features = false features = ["derive"] [dependencies.reqwest] -version = "0.11" +version = "0.12" default-features = false features = ["json"] From 456a635b02bf8eda252ebbbbc67bdc24417fc9f2 Mon Sep 17 00:00:00 2001 From: Alexander Korolev Date: Sun, 21 Apr 2024 12:57:00 +0200 Subject: [PATCH 3/3] min Rust version 1.70 --- .github/workflows/rust.yml | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index f80c40b..9325dfd 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -13,7 +13,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@1.65.0 + - uses: dtolnay/rust-toolchain@1.70.0 - name: Build run: cargo build - name: Run tests diff --git a/Cargo.toml b/Cargo.toml index f36f913..24c2375 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ keywords = ["authentication", "authorization", "oauth", "openid", "uma2"] license = "Unlicense OR MIT" readme = "README.md" repository = "https://github.com/kilork/openid" -rust-version = "1.65" +rust-version = "1.70" [features] default = ["native-tls"]