Skip to content

Commit 32a2869

Browse files
authored
feat: support reqwest 0.13 (#6)
Signed-off-by: tison <[email protected]>
1 parent 0193f4e commit 32a2869

File tree

4 files changed

+13
-9
lines changed

4 files changed

+13
-9
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
os: [ windows-latest, macos-latest, ubuntu-latest ]
19-
rust: [ "1.82.0", "stable", "nightly" ]
19+
rust: [ "1.85.0", "stable", "nightly" ]
2020
env:
2121
RUST_BACKTRACE: 1
2222
steps:

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
[package]
22
name = "fastrace-reqwest"
3-
version = "0.2.0"
3+
version = "0.3.0"
44

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

10-
edition = "2021"
10+
edition = "2024"
1111
license = "Apache-2.0"
1212
repository = "https://github.com/fast/fastrace-reqwest"
13-
rust-version = "1.82"
13+
rust-version = "1.85"
1414

1515
[dependencies]
1616
fastrace = { version = "0.7" }
17-
reqwest = { version = "0.12", default-features = false }
17+
reqwest = { version = "0.13", default-features = false }
1818

1919
[dev-dependencies]
2020
axum = { version = "0.8" }

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Crates.io](https://img.shields.io/crates/v/fastrace-reqwest.svg?style=flat-square&logo=rust)](https://crates.io/crates/fastrace-reqwest)
44
[![Documentation](https://img.shields.io/docsrs/fastrace-reqwest?style=flat-square&logo=rust)](https://docs.rs/fastrace-reqwest/)
5-
[![MSRV 1.82.0](https://img.shields.io/badge/MSRV-1.82.0-green?style=flat-square&logo=rust)](https://www.whatrustisit.com)
5+
[![MSRV 1.85.0](https://img.shields.io/badge/MSRV-1.85.0-green?style=flat-square&logo=rust)](https://www.whatrustisit.com)
66
[![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)
77
[![License](https://img.shields.io/crates/l/fastrace-reqwest?style=flat-square)](https://github.com/fast/fastrace-reqwest/blob/main/LICENSE)
88

@@ -31,9 +31,13 @@ Add to your `Cargo.toml`:
3131
```toml
3232
[dependencies]
3333
fastrace = "0.7"
34-
fastrace-reqwest = "0.2"
34+
fastrace-reqwest = "0.3"
3535
```
3636

37+
This works with `[email protected]`. For old versions, use:
38+
39+
40+
3741
## Usage
3842

3943
### HTTP Client
@@ -93,4 +97,4 @@ cargo run --example client
9397

9498
## License
9599

96-
This project is licensed under the [Apache-2.0](./LICENSE) license.
100+
This project is licensed under the [Apache-2.0](LICENSE) license.

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[toolchain]
2-
channel = "1.82.0"
2+
channel = "1.85.0"
33
components = ["cargo", "rustfmt", "clippy", "rust-analyzer"]

0 commit comments

Comments
 (0)