Skip to content

Commit 8f5e46f

Browse files
committed
feat(Cargo.toml): update hpx and related dependencies to version 2.4.6
1 parent 8c9f9da commit 8f5e46f

2 files changed

Lines changed: 21 additions & 21 deletions

File tree

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ members = ["crates/*", "bin/*"]
33
resolver = "3"
44

55
[workspace.package]
6-
version = "2.4.5"
6+
version = "2.4.6"
77
edition = "2024"
88
authors = ["Akagi201 <akagi201@gmail.com>"]
99
license = "Apache-2.0"
@@ -185,10 +185,10 @@ all = "warn"
185185

186186
[workspace.dependencies]
187187
# local crates
188-
fastwebsockets = { path = "crates/fastwebsockets", package = "hpx-fastwebsockets", version = "2.4.5" }
189-
hpx = { path = "crates/hpx", version = "2.4.5" }
190-
hpx-dl = { path = "crates/hpx-dl", version = "2.4.5" }
191-
hpx-yawc = { path = "crates/yawc", version = "2.4.5" }
188+
fastwebsockets = { path = "crates/fastwebsockets", package = "hpx-fastwebsockets", version = "2.4.6" }
189+
hpx = { path = "crates/hpx", version = "2.4.6" }
190+
hpx-dl = { path = "crates/hpx-dl", version = "2.4.6" }
191+
hpx-yawc = { path = "crates/yawc", version = "2.4.6" }
192192

193193
# external crates
194194
ahash = "0.8.12"

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ An ergonomic all-in-one HTTP client for browser emulation with TLS, JA3/JA4, and
1515

1616
| Crate | Version | Description |
1717
|-------|---------|-------------|
18-
| [`hpx`](https://crates.io/crates/hpx) | 2.4.5 | High Performance HTTP Client |
19-
| [`hpx-emulation`](https://crates.io/crates/hpx-emulation) | 2.4.5 | Browser emulation profiles |
20-
| [`hpx-yawc`](https://crates.io/crates/hpx-yawc) | 2.4.5 | WebSocket library (RFC 6455 + compression) |
21-
| [`hpx-fastwebsockets`](https://crates.io/crates/hpx-fastwebsockets) | 2.4.5 | Fast minimal WebSocket implementation |
18+
| [`hpx`](https://crates.io/crates/hpx) | 2.4.6 | High Performance HTTP Client |
19+
| [`hpx-emulation`](https://crates.io/crates/hpx-emulation) | 2.4.6 | Browser emulation profiles |
20+
| [`hpx-yawc`](https://crates.io/crates/hpx-yawc) | 2.4.6 | WebSocket library (RFC 6455 + compression) |
21+
| [`hpx-fastwebsockets`](https://crates.io/crates/hpx-fastwebsockets) | 2.4.6 | Fast minimal WebSocket implementation |
2222

2323
## Features
2424

@@ -64,7 +64,7 @@ Add `hpx` to your `Cargo.toml`:
6464

6565
```toml
6666
[dependencies]
67-
hpx = "2.4.5"
67+
hpx = "2.4.6"
6868
```
6969

7070
The default features include **BoringSSL** TLS, **HTTP/1.1**, and **HTTP/2** support.
@@ -73,8 +73,8 @@ For browser emulation, add the utility crate:
7373

7474
```toml
7575
[dependencies]
76-
hpx = "2.4.5"
77-
hpx-emulation = "2.4.5"
76+
hpx = "2.4.6"
77+
hpx-emulation = "2.4.6"
7878
```
7979

8080
## Feature Flags
@@ -125,7 +125,7 @@ The `ws` feature is an alias for `ws-yawc` (the default WebSocket backend). To u
125125

126126
```toml
127127
[dependencies]
128-
hpx = { version = "2.4.5", features = ["ws-fastwebsockets"] }
128+
hpx = { version = "2.4.6", features = ["ws-fastwebsockets"] }
129129
```
130130

131131
When both `ws-yawc` and `ws-fastwebsockets` are enabled, fastwebsockets takes priority.
@@ -135,37 +135,37 @@ When both `ws-yawc` and `ws-fastwebsockets` are enabled, fastwebsockets takes pr
135135
**Minimal HTTP client:**
136136

137137
```toml
138-
hpx = "2.4.5" # default: boring + http1 + http2
138+
hpx = "2.4.6" # default: boring + http1 + http2
139139
```
140140

141141
**JSON API client:**
142142

143143
```toml
144-
hpx = { version = "2.4.5", features = ["json", "cookies", "gzip"] }
144+
hpx = { version = "2.4.6", features = ["json", "cookies", "gzip"] }
145145
```
146146

147147
**WebSocket client:**
148148

149149
```toml
150-
hpx = { version = "2.4.5", features = ["ws"] }
150+
hpx = { version = "2.4.6", features = ["ws"] }
151151
```
152152

153153
**High-performance trading:**
154154

155155
```toml
156-
hpx = { version = "2.4.5", features = ["simd-json", "hickory-dns", "zstd", "ws"] }
156+
hpx = { version = "2.4.6", features = ["simd-json", "hickory-dns", "zstd", "ws"] }
157157
```
158158

159159
**Pure Rust (no C dependencies):**
160160

161161
```toml
162-
hpx = { version = "2.4.5", default-features = false, features = ["rustls-tls", "http1", "http2"] }
162+
hpx = { version = "2.4.6", default-features = false, features = ["rustls-tls", "http1", "http2"] }
163163
```
164164

165165
**Full-featured:**
166166

167167
```toml
168-
hpx = { version = "2.4.5", features = [
168+
hpx = { version = "2.4.6", features = [
169169
"json", "form", "query", "multipart", "stream",
170170
"cookies", "charset",
171171
"gzip", "brotli", "zstd", "deflate",
@@ -206,7 +206,7 @@ BoringSSL is the default TLS backend, providing robust support for modern TLS fe
206206

207207
```toml
208208
[dependencies]
209-
hpx = "2.4.5"
209+
hpx = "2.4.6"
210210
```
211211

212212
### Rustls
@@ -217,7 +217,7 @@ A pure Rust TLS implementation. Useful for environments where C dependencies are
217217
218218
```toml
219219
[dependencies]
220-
hpx = { version = "2.4.5", default-features = false, features = ["rustls-tls", "http1", "http2"] }
220+
hpx = { version = "2.4.6", default-features = false, features = ["rustls-tls", "http1", "http2"] }
221221
```
222222

223223
## Usage Examples

0 commit comments

Comments
 (0)