mirror of
https://github.com/TrueLayer/reqwest-middleware.git
synced 2024-12-27 03:16:32 +00:00
Disable wasm tests and add warning to README (#105)
This commit is contained in:
parent
c2d477edae
commit
f1e71bef3c
2 changed files with 5 additions and 29 deletions
29
.github/workflows/ci.yml
vendored
29
.github/workflows/ci.yml
vendored
|
@ -34,35 +34,6 @@ jobs:
|
||||||
command: test
|
command: test
|
||||||
args: --workspace --all-targets --features ${{ matrix.otel_version }}
|
args: --workspace --all-targets --features ${{ matrix.otel_version }}
|
||||||
|
|
||||||
wasm:
|
|
||||||
name: Compiles for the browser
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
otel_version:
|
|
||||||
- opentelemetry_0_13
|
|
||||||
- opentelemetry_0_14
|
|
||||||
- opentelemetry_0_15
|
|
||||||
- opentelemetry_0_16
|
|
||||||
- opentelemetry_0_17
|
|
||||||
- opentelemetry_0_18
|
|
||||||
- opentelemetry_0_19
|
|
||||||
- opentelemetry_0_20
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
- name: Install Rust
|
|
||||||
uses: actions-rs/toolchain@v1
|
|
||||||
with:
|
|
||||||
target: wasm32-unknown-unknown
|
|
||||||
toolchain: stable
|
|
||||||
profile: minimal
|
|
||||||
override: true
|
|
||||||
- uses: actions-rs/cargo@v1
|
|
||||||
with:
|
|
||||||
command: build
|
|
||||||
args: --workspace --features ${{ matrix.otel_version }} --target wasm32-unknown-unknown
|
|
||||||
|
|
||||||
rustfmt:
|
rustfmt:
|
||||||
name: Rustfmt
|
name: Rustfmt
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
@ -15,6 +15,11 @@ implementations. This repository also contains a couple of useful concrete middl
|
||||||
* [`reqwest-tracing`](https://crates.io/crates/reqwest-tracing):
|
* [`reqwest-tracing`](https://crates.io/crates/reqwest-tracing):
|
||||||
[`tracing`](https://crates.io/crates/tracing) integration, optional opentelemetry support.
|
[`tracing`](https://crates.io/crates/tracing) integration, optional opentelemetry support.
|
||||||
|
|
||||||
|
Note about browser support: automated tests targetting wasm are disabled. The crate may work with
|
||||||
|
wasm but wasm support is unmaintained. PRs improving wasm are still welcome but you'd need to
|
||||||
|
reintroduce the tests and get them passing before we'd merge it (see
|
||||||
|
https://github.com/TrueLayer/reqwest-middleware/pull/105).
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
The `reqwest-middleware` client exposes the same interface as a plain `reqwest` client, but
|
The `reqwest-middleware` client exposes the same interface as a plain `reqwest` client, but
|
||||||
|
|
Loading…
Reference in a new issue