diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b1ec5c5f..506e4c6e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,27 +9,23 @@ jobs: strategy: fail-fast: false matrix: - features: ["service_account,hyper-rustls", "service_account", "hyper-rustls"] + features: ["service_account,hyper-rustls", "service_account,hyper-tls", "service_account", "hyper-rustls"] steps: - - uses: actions/checkout@v2 - - uses: actions-rs/toolchain@v1 + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable with: toolchain: stable - profile: minimal - default: true - run: cargo test --no-default-features --features ${{ matrix.features }} doc: name: yup-oauth2 runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions-rs/toolchain@v1 + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable with: toolchain: nightly - profile: minimal - default: true - - run: cargo doc --no-deps + - run: cargo doc --no-deps --all-features env: RUSTDOCFLAGS: --cfg yup_oauth2_docsrs @@ -37,10 +33,8 @@ jobs: name: yup-oauth2 runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions-rs/toolchain@v1 + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable with: toolchain: stable - profile: minimal - default: true - run: cargo fmt -- --check diff --git a/Cargo.toml b/Cargo.toml index eda42ad2..cc774b36 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -40,6 +40,7 @@ http-body-util = "0.1" hyper = "1" hyper-util = { version = "0.1.5", features = ["client-legacy", "server-auto", "http1", "http2", "server-graceful"] } hyper-rustls = { version = "0.27", optional = true, default-features = false, features = ["http1", "http2", "rustls-native-certs", "ring"] } +hyper-tls = { version = "0.6.0", optional = true } log = "0.4" percent-encoding = "2" rustls = { version = "^0.23", optional = true, features = ["ring"] }