Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade to reqwest 0.12 #52

Merged
merged 3 commits into from
Apr 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,21 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: dtolnay/[email protected]
- 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
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand All @@ -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]
Expand All @@ -46,6 +46,6 @@ default-features = false
features = ["derive"]

[dependencies.reqwest]
version = "0.11"
version = "0.12"
default-features = false
features = ["json"]