Skip to content

Commit

Permalink
v0.20.20
Browse files Browse the repository at this point in the history
  • Loading branch information
0x676e67 committed Aug 12, 2024
1 parent 0b39bb0 commit 2cb35c1
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 8 deletions.
43 changes: 43 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,53 @@ All notable changes to this project will be documented in this file.

## [unreleased]

### 🚀 Features

- *(client)* Simplify client configuration (#110)
- *(tls)* Add `CA Certificate` settings (#112)

### 🚜 Refactor

- *(tls)* Refactor TLS connection layer configuration (#111)

### Deps

- *(boring/hyper/h2)* Migration patch crate name (#109)

## [0.20.10] - 2024-08-10

### 🚀 Features

- *(http2)* Add headers frame default priority (#106)
- *(tls)* Reuse https connector layer (#107)

### 🎨 Styling

- *(tls)* Remove unused closure

### ◀️ Revert

- *(tls)* Revert tls_built_in_root_certs option (#105)

## [0.20.1] - 2024-08-08

### 🚀 Features

- *(client)* Simplify the header configuration process
- *(extension)* Set application protocol (ALPN) for http1 (#104)

### 🐛 Bug Fixes

- *(tls)* Fix setting config TLS version

### 🚜 Refactor

- *(tls)* Simplify TLS connector configuration (#103)

### ◀️ Revert

- *(client)* Remove use of unused TLS Server Name Indication

### Deps

- *(system-configuration)* V0.6.0
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 = "0.20.10"
version = "0.20.20"
description = "An fast asynchronous Rust Http/WebSocket Client with TLS/JA3/JA4/HTTP2 fingerprint impersonate"
keywords = ["http", "request", "client", "websocket", "ja3"]
categories = ["web-programming::http-client"]
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@

An fast asynchronous Rust `Http`/`WebSocket` Client with `TLS`/`JA3`/`JA4`/`HTTP2` fingerprint impersonate

- `Async` and `blocking` Clients
- `Async` or `blocking` Clients
- `Plain`, `JSON`, `urlencoded`, `multipart` bodies
- Customizable `headers` order
- Customizable `redirect` policy
- Cookie Store
- `HTTP`/`HTTPS`/`SOCKS5` Proxies
- `HTTPS`/`WebSocket` via [BoringSSL](https://github.com/cloudflare/boring)
- `JA3`/`JA4`/`HTTP2` fingerprint
- Impersonate `Chrome`/`Safari`/`Edge`/`OkHttp`
- [Changelog](CHANGELOG.md)

Additional learning resources include:

- [API Documentation](https://docs.rs/rquest)
- [Repository Examples](https://github.com/0x676e67/rquest/tree/master/examples)


## Usage

This asynchronous example uses [Tokio](https://tokio.rs) and enables some
Expand All @@ -32,7 +32,7 @@ optional features, so your `Cargo.toml` could look like this:
```toml
[dependencies]
tokio = { version = "1", features = ["full"] }
rquest = "0.11"
rquest = "0.20"
```

```rust,no_run
Expand All @@ -41,9 +41,9 @@ use rquest::tls::Impersonate;
#[tokio::main]
async fn main() -> Result<(), Box<dyn Error>> {
// Build a client to mimic Chrome123
// Build a client to mimic Edge127
let client = rquest::Client::builder()
.impersonate(Impersonate::Chrome123)
.impersonate(Impersonate::Edge127)
.enable_ech_grease()
.permute_extensions()
.cookie_store(true)
Expand All @@ -62,7 +62,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
```toml
[dependencies]
tokio = { version = "1", features = ["full"] }
rquest = { version = "0.11", features = ["websocket"] }
rquest = { version = "0.20", features = ["websocket"] }
```

```rust,no_run
Expand Down
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,14 @@
//!
//! - Async and [blocking] Clients
//! - Plain bodies, [JSON](#json), [urlencoded](#forms), [multipart], [websocket](#websocket)
//! - Customizable `headers` order
//! - Customizable [redirect policy](#redirect-policies)
//! - HTTP [Proxies](#proxies)
//! - Uses BoringSSL [TLS](#tls)
//! - [Impersonate](#impersonate) Chrome / Safari / Edge / OkHttp
//! - Cookies
//! - `JA3`/`JA4`/`HTTP2` fingerprint
//! - Bespoke headers order configuration
//! - [Changelog](https://github.com/0x676e67/rquest/blob/main/CHANGELOG.md)
//!
//! Additional learning resources include:
Expand Down

0 comments on commit 2cb35c1

Please sign in to comment.