actix-web/awc
dependabot[bot] e62d849656
build(deps): bump time from 0.3.45 to 0.3.46 (#3893)
* build(deps): bump time from 0.3.45 to 0.3.46

Bumps [time](https://github.com/time-rs/time) from 0.3.45 to 0.3.46.
- [Release notes](https://github.com/time-rs/time/releases)
- [Changelog](https://github.com/time-rs/time/blob/main/CHANGELOG.md)
- [Commits](https://github.com/time-rs/time/compare/v0.3.45...v0.3.46)

---
updated-dependencies:
- dependency-name: time
  dependency-version: 0.3.46
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(*): bump MSRV to 1.88

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2026-01-28 08:10:27 +00:00
..
examples docs: add tls to awc example 2024-12-29 15:17:18 +00:00
src chore: address clippy lints 2025-12-11 07:26:07 +00:00
tests fix(*): replace rustls-pemfile (#3855) 2025-12-12 08:11:24 +09:00
CHANGES.md build(deps): bump time from 0.3.45 to 0.3.46 (#3893) 2026-01-28 08:10:27 +00:00
Cargo.toml fix(*): replace rustls-pemfile (#3855) 2025-12-12 08:11:24 +09:00
LICENSE-APACHE add license files 2019-06-01 17:25:29 +06:00
LICENSE-MIT add license files 2019-06-01 17:25:29 +06:00
README.md chore: rename branch to main (#3821) 2025-11-05 20:13:50 +09:00

README.md

awc (Actix Web Client)

Async HTTP and WebSocket client library.

crates.io Documentation MIT or Apache 2.0 licensed Dependency Status Chat on Discord

Examples

Example project using TLS-enabled client →

Basic usage:

use actix_rt::System;
use awc::Client;

fn main() {
    System::new().block_on(async {
        let client = Client::default();

        let res = client
            .get("http://www.rust-lang.org")    // <- Create request builder
            .insert_header(("User-Agent", "Actix-web"))
            .send()                             // <- Send http request
            .await;

        println!("Response: {:?}", res);        // <- server http response
    });
}