diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index e71837f..9325dfd 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -12,16 +12,21 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@1.70.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 --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..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"] @@ -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"]