Skip to content
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
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,21 @@ jobs:
name: rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions-rust-lang/setup-rust-toolchain@v2
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions-rust-lang/setup-rust-toolchain@ecabd13d1c56bd1345c230e542e9144811ad706f # v2.0.0
with:
components: rustfmt
- name: Rustfmt Check
uses: actions-rust-lang/rustfmt@v1
uses: actions-rust-lang/rustfmt@4066006ec54a31931b9b1fddfd38f2fdf2d27143 # v1.1.2

clippy:
name: clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
submodules: true
- uses: actions-rust-lang/setup-rust-toolchain@v2
- uses: actions-rust-lang/setup-rust-toolchain@ecabd13d1c56bd1345c230e542e9144811ad706f # v2.0.0
with:
components: clippy
- name: Clippy Check
Expand All @@ -48,14 +48,14 @@ jobs:
cancel-in-progress: true

steps:
- uses: actions/checkout@v7
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
submodules: true

- name: Setup Rust toolchain
uses: dtolnay/rust-toolchain@stable

- uses: Swatinem/rust-cache@v2
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2

- name: Run tests
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v7
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
submodules: true

Expand Down
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mauth-client"
version = "0.8.0"
version = "0.8.1"
authors = ["Mason Gup <mgup@mdsol.com>"]
edition = "2024"
rust-version = "1.88"
Expand All @@ -16,7 +16,7 @@ categories = ["authentication", "web-programming"]
[dependencies]
reqwest = { version = "0.13", features = ["json"] }
reqwest-middleware = "0.5"
reqwest-tracing = { version = "0.7.0", optional = true }
reqwest-tracing = { version = "0.7.1", optional = true }
async-trait = ">= 0.1.83"
url = "2"
serde = { version = "1", features = ["derive"] }
Expand Down Expand Up @@ -48,3 +48,4 @@ tracing-otel-28 = ["reqwest-tracing/opentelemetry_0_28"]
tracing-otel-29 = ["reqwest-tracing/opentelemetry_0_29"]
tracing-otel-30 = ["reqwest-tracing/opentelemetry_0_30"]
tracing-otel-31 = ["reqwest-tracing/opentelemetry_0_31"]
tracing-otel-32 = ["reqwest-tracing/opentelemetry_0_32"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ client, only the first configuration loaded in a process takes effect.

### OpenTelemetry Integration

There are also optional features `tracing-otel-26` through `tracing-otel-31`
There are also optional features `tracing-otel-26` through `tracing-otel-32`
that pair with the `axum-service` feature to ensure that any outgoing requests for credentials
that take place in the context of an incoming web request also include the proper OpenTelemetry
span information in any requests to MAudit services. Note that it is critical to use the same
Expand Down
1 change: 1 addition & 0 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ impl MAuthInfo {
feature = "tracing-otel-29",
feature = "tracing-otel-30",
feature = "tracing-otel-31",
feature = "tracing-otel-32",
))]
let builder = builder.with(reqwest_tracing::TracingMiddleware::default());
builder.build()
Expand Down