An open API service indexing awesome lists of open source software.

https://github.com/nitindahiya-dev/async-await

Perform asynchronous HTTP requests using the `reqwest` crate
https://github.com/nitindahiya-dev/async-await

api-request async rust

Last synced: 6 months ago
JSON representation

Perform asynchronous HTTP requests using the `reqwest` crate

Awesome Lists containing this project

README

          

# Async Await Example with Reqwest and Error Handling in Rust

This Rust project demonstrates how to perform asynchronous HTTP requests using the `reqwest` crate with proper error handling using the `error-chain` crate.

## Requirements

  • Rust (latest stable version)

  • Cargo (comes with Rust)



  • ## Dependencies

    This project relies on the following crates:
    - `reqwest` for making HTTP requests.
    - `tokio` for asynchronous runtime.
    - `error-chain` for simplified error handling