reqwest VS ureq

Compare reqwest vs ureq and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
reqwest ureq
57 7
9,095 1,559
- -
8.7 8.4
8 days ago 10 days ago
Rust Rust
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

reqwest

Posts with mentions or reviews of reqwest. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-18.
  • The Linux Kernel Prepares for Rust 1.77 Upgrade
    9 projects | news.ycombinator.com | 18 Feb 2024
    > If you are equally picky and constrain yourself to parts of the ecosystem which care about binary size, you still have more options and can avoid size issues.

    What's an example of this for, say, libcurl? On my system it has a tiny number of recursive dependencies, around a dozen. [0] Furthermore if I want to write a C program that uses libcurl I have to download zero bytes of data ... because it's a shared library that is already installed on my system, since so many programs already use it.

    I don't really know the appropriate comparison for Rust. reqwest seems roughly comparable, but it's an HTTP client library, and not a general purpose network client like curl. Obviously curl can do a lot more. Even the list of direct dependencies for reqwest is quite long [1], and it's built on top of another http library [2] that has its own long list of dependencies, a list that includes tokio, no small library itself.

    In terms of final binary size, the installed size of the curl package on my system, which includes both the command line tool and development dependencies for libcurl, is 1875.03 KiB.

    [0] I'm excluding the dependency on the ca-certificates package, since this only provides the certificate chain for TLS and lots of programs rely on it.

    [1] https://crates.io/crates/reqwest/0.11.24/dependencies

    [2] https://crates.io/crates/hyper/0.14.28/dependencies

  • What We Need Instead of "Web Components"
    8 projects | news.ycombinator.com | 22 Dec 2023
  • ReductStore 1.6.0 has been released with new license and client SDK for Rust
    3 projects | dev.to | 15 Aug 2023
    ReductStore was rewritten from C++ to Rust a few months ago. We are delighted to be part of the Rust community and have taken a new step towards Rust with the Client SDK. The SDK is powered by reqwest and enables asynchronous integration of the database into Rust applications:
  • Rust dependency woes
    2 projects | /r/rust | 20 Jun 2023
    From what I could turn up when googling the specific error lines (here), it has something to do with the crate mio not having support for WASM, but I don’t understand what’s being said on this thread.
  • Using Auth0 with Tauri
    1 project | dev.to | 7 May 2023
    You can use the tauri-plugin-deep-link crate to register your app as a protocol handler. After you get your code, you can exchange it for an auth token in the same manner as the Electron guide, but for Rust you can use reqwest for the HTTP call.
  • Authentication system using rust (actix-web) and sveltekit - Automated testing
    3 projects | dev.to | 6 May 2023
    When starting out, we made some design decisions at the backend. The decision will allow us to independently test the service without interfering with the real application using a term called integration testing. We'll utilize two "dev" packages: reqwest and fake. Dev dependencies only get introduced into your application in development or during testing. In production, they are not included:
  • How can I save a blob:<url> to my hard disk? Im currently using Rust to scrape a website, however I dont even know if that is possible
    1 project | /r/rust | 22 Apr 2023
    It's possible, you will want to use crates like https://docs.rs/reqwest/ to download the page and https://docs.rs/scraper/ to extract elements from the page.
  • Becoming Rustacean:Awesome Free Online Resources to Learn Rust Programming
    6 projects | news.ycombinator.com | 11 Apr 2023
    Rust allows me to mainly only run the application to confirm things work from a business perspective.

    For people starting out building stuff in rust - understand that there is a distinction of async code and libraries and can lead to confusing compiler errors if you don't realize there is a distinction. It's simple in hindsight but did cause me to waste hours barking up the wrong trees at first. Other wise just learn about `match` and Result/Option types asap, they're fundamental.

    https://github.com/http-rs/tide tide is great to create an http server / routes

    https://github.com/djc/askama I use this to template out HTML and it checks all my boxes, dynamic data, passing in functions, control flow.

    https://github.com/launchbadge/sqlx sql interface for a variety of backend, async safe.

    https://github.com/seanmonstar/reqwest http client to make requests

    Rust is amazing, don't let the initial few speed bumps discourage you - building real things with rust is no more challenging today than any other modern language stack.

  • This Month in hyper: March 2023
    3 projects | /r/rust | 7 Apr 2023
    Is there any this month in reqwest? I would like to show my interest in https://github.com/seanmonstar/reqwest/issues/39
  • Reqwest cookies feature not working
    1 project | /r/rust | 3 Apr 2023
    The relevant issue seems to be https://github.com/seanmonstar/reqwest/pull/1753

ureq

Posts with mentions or reviews of ureq. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-29.
  • Thermostat Control for Ecobee
    2 projects | /r/rust | 29 May 2023
    I also enjoyed using ureq as an http client.
  • An HTTP request parser with rust and pest.rs
    6 projects | dev.to | 23 May 2022
    After a quick check of the available rust http client libraries I opted for reqwest. It has a pretty simple API and it seems to be among the most used libraries for this matters. But I'm a bit concerned about all its dependencies so I might try ureq later.
  • Why asynchronous Rust doesn't work
    10 projects | news.ycombinator.com | 9 Mar 2021
  • HTTP-client agnostic crate
    1 project | /r/rust | 8 Mar 2021
    Async is only useful when you have hundreds of connections open at the same time and idling most of the time; otherwise it's a liability. If your web API does not allow that (e.g. it has rate-limiting, which most APIs do), I suggest going with a client that performs blocking I/O and spawning threads if you need parallelism. https://github.com/algesten/ureq should fit the bill.
  • Client/Server Communication Help
    1 project | /r/rust | 18 Feb 2021
    I think you'll find a lot of people claiming its overkill, but it will have excellent documentation for both sides, offer reasonable speed, and let you hash out the actual logic of your system without worrying too much about if your low-level implementation is correct. Two good frameworks for the server would be Actix or Rocket. For the client, i'd reccomend either using reqwest or ureq. From there, you can just set up a few POST endpoints, and get to going.
  • http client facade library?
    3 projects | /r/rust | 5 Feb 2021
    If you want an HTTP client with few dependencies and little unsafe code, take a look at https://github.com/algesten/ureq
  • Tokio, the async runtime for Rust, hits 1.0
    12 projects | news.ycombinator.com | 23 Dec 2020
    Give ureq a try: https://github.com/algesten/ureq

What are some alternatives?

When comparing reqwest and ureq you can also consider the following projects:

hyper - An HTTP library for Rust

curl-rust - Rust bindings to libcurl

Rocket - A web framework for Rust.

rust-http-clients-smoke-test

surf - Fast and friendly HTTP client framework for async Rust

teepee - Teepee, the Rust HTTP toolkit

actix-web - Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.

smol - A small and fast async runtime for Rust

tokio - A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...