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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
fail-fast: false
matrix:
os: [ windows-latest, macos-latest, ubuntu-latest ]
rust: [ "1.82.0", "stable", "nightly" ]
rust: [ "1.85.0", "stable", "nightly" ]
env:
RUST_BACKTRACE: 1
steps:
Expand Down
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
[package]
name = "fastrace-reqwest"
version = "0.2.0"
version = "0.3.0"

categories = ["development-tools::debugging"]
description = "A reqwest util for propagating trace context for fastrace"
keywords = ["tracing", "fastrace", "reqwest", "traceparent", "propagation"]
readme = "README.md"

edition = "2021"
edition = "2024"
license = "Apache-2.0"
repository = "https://github.com/fast/fastrace-reqwest"
rust-version = "1.82"
rust-version = "1.85"

[dependencies]
fastrace = { version = "0.7" }
reqwest = { version = "0.12", default-features = false }
reqwest = { version = "0.13", default-features = false }

[dev-dependencies]
axum = { version = "0.8" }
Expand Down
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Crates.io](https://img.shields.io/crates/v/fastrace-reqwest.svg?style=flat-square&logo=rust)](https://crates.io/crates/fastrace-reqwest)
[![Documentation](https://img.shields.io/docsrs/fastrace-reqwest?style=flat-square&logo=rust)](https://docs.rs/fastrace-reqwest/)
[![MSRV 1.82.0](https://img.shields.io/badge/MSRV-1.82.0-green?style=flat-square&logo=rust)](https://www.whatrustisit.com)
[![MSRV 1.85.0](https://img.shields.io/badge/MSRV-1.85.0-green?style=flat-square&logo=rust)](https://www.whatrustisit.com)
[![CI Status](https://img.shields.io/github/actions/workflow/status/fast/fastrace-reqwest/ci.yml?style=flat-square&logo=github)](https://github.com/fast/fastrace-reqwest/actions)
[![License](https://img.shields.io/crates/l/fastrace-reqwest?style=flat-square)](https://github.com/fast/fastrace-reqwest/blob/main/LICENSE)

Expand Down Expand Up @@ -31,9 +31,13 @@ Add to your `Cargo.toml`:
```toml
[dependencies]
fastrace = "0.7"
fastrace-reqwest = "0.2"
fastrace-reqwest = "0.3"
```

This works with `reqwest@0.13`. For old versions, use:

* `fastrace-reqwest@0.2` for `reqwest@0.12`

## Usage

### HTTP Client
Expand Down Expand Up @@ -93,4 +97,4 @@ cargo run --example client

## License

This project is licensed under the [Apache-2.0](./LICENSE) license.
This project is licensed under the [Apache-2.0](LICENSE) license.
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "1.82.0"
channel = "1.85.0"
components = ["cargo", "rustfmt", "clippy", "rust-analyzer"]