surf
Fast and friendly HTTP client framework for async Rust (by http-rs)
isahc
The practical HTTP client that is fun to use. (by sagebind)
surf | isahc | |
---|---|---|
4 | 3 | |
1,447 | 678 | |
0.4% | - | |
0.0 | 4.7 | |
8 months ago | 4 days ago | |
Rust | Rust | |
Apache License 2.0 | MIT License |
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.
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.
surf
Posts with mentions or reviews of surf.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-09.
- Hey Rustaceans! Got a question? Ask here (2/2023)!
-
New crate: asserhttp
It is a simple trait providing many asserters. This trait is then implemented for many http clients: reqwest, surf, isahc, hyper and actix.
-
Building static Rust binaries for Linux
This indicates curl, zlib, openssl, and libnghttp2 as well as a bunch of WASM-related things are being dynamically linked into my executable. To resolve this, I looked at the build features exposed by surf and found that it selects the "curl_client" feature by default, which can be turned off and replaced with "h1-client-rustls" which uses an HTTP client backed by rustls and async-std and no dynamically linked libraries. Enabling this build feature removed all -sys dependencies from androidx-release-watcher, allowing me to build static executables of it.
-
http client facade library?
https://github.com/http-rs/surf provides an abstraction over several backends, but forces you into async and async-std, and the abstractions it provides are very limited anyway.
isahc
Posts with mentions or reviews of isahc.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-14.
-
Whatโs everyone working on this week (11/2022)?
Working on a 2.0 release of Isahc (HTTP client) with first-class support for using rustls for HTTPS. This has been a highly-requested feature and has been in the works for over a year.
-
New crate: asserhttp
It is a simple trait providing many asserters. This trait is then implemented for many http clients: reqwest, surf, isahc, hyper and actix.
-
Is it possible to create a future without using threads?
isahc uses threads internally: https://github.com/sagebind/isahc/blob/master/src/agent.rs
What are some alternatives?
When comparing surf and isahc you can also consider the following projects:
reqwest - An easy and powerful Rust HTTP Client
rust-http-clients-smoke-test
lang-team - Home of the Rust lang team
ureq - A simple, safe HTTP client
mdSilo - In-browser knowledge base on top of local plain-text files
asserhttp - Fluent http assertions
hurl - Hurl, run and test HTTP requests with plain text.
rust - Empowering everyone to build reliable and efficient software.
AndroidNetworking - ๐ A Complete Fast Android Networking Library that also supports HTTP/2 ๐
ripgrep - ripgrep recursively searches directories for a regex pattern while respecting your gitignore