Skip to content

Commit

Permalink
v2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
0x676e67 committed Jan 24, 2025
1 parent 2cb8a46 commit fde1ca1
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@ All notable changes to this project will be documented in this file.

## [unreleased]

### 🚀 Features

- Implement `IntoStreamDependency` for tuple and `StreamDependency` (#359)

### 📚 Documentation

- Update performance information

### ⚙️ Miscellaneous Tasks

- Update owner (#358)

## [2.0.0] - 2025-01-23

### 🧪 Testing

- *(badssl)* Update cipher list
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rquest"
version = "2.0.0"
version = "2.0.1"
description = "An ergonomic, all-in-one TLS, JA3/JA4, and HTTP2 fingerprint HTTP Client for spoof any browser"
keywords = ["http", "client", "websocket", "ja3", "ja4"]
categories = ["web-programming::http-client"]
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ async fn main() -> Result<(), rquest::Error> {

## Overview

**`rquest`** is a fork of [reqwest](https://github.com/seanmonstar/reqwest), and most of the APIs remain the same, similar to how [BoringSSL](https://github.com/cloudflare/boring) is a fork of OpenSSL.
This project is a fork of [reqwest](https://github.com/seanmonstar/reqwest), and most of the APIs remain the same, similar to how [BoringSSL](https://github.com/cloudflare/boring) is a fork of OpenSSL.

The fork optimizes commonly used APIs and enhances compatibility with connection pools, making it easier to switch proxies, IP addresses, and interfaces. Projects using reqwest can be migrated to rquest directly with minimal changes.

Expand All @@ -126,8 +126,7 @@ By default, `HTTP2` tracing is turned off, which will reduce the performance ove

## Connection Pool

Regarding the design strategy of the connection pool, `rquest` and `reqwest` are implemented differently. `rquest` reconstructs the entire connection layer, treating each host with the same proxy or bound `IP`/`Interface` as the same connection, while `reqwest` treats each host as an independent connection. Specifically, the connection pool of `rquest` is managed based on the host and `Proxy`/`IP`/`Interface`, while the connection pool of `reqwest` is managed only by the host. In other words, when using `rquest`, you can flexibly switch between proxies, `IP` or `Interface` without affecting the management of the connection pool.

`rquest` and `reqwest` handle connection pools differently. `rquest` manages connections based on the host and `Proxy`/`IP`/`Interface`, allowing flexible switching between them without affecting the connection pool. In contrast, `reqwest` manages connections only by the host.
> `Interface` refers to the network interface of the device, such as `wlan0` or `eth0`.
## Root Certificate
Expand Down

0 comments on commit fde1ca1

Please sign in to comment.