surf
Fast and friendly HTTP client framework for async Rust (by http-rs)
rust-http-clients-smoke-test | surf | |
---|---|---|
2 | 4 | |
48 | 1,448 | |
- | 1.0% | |
0.0 | 0.0 | |
almost 3 years ago | 8 months 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.
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.
rust-http-clients-smoke-test
Posts with mentions or reviews of rust-http-clients-smoke-test.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-02-05.
-
Thoughts on the Tiny_Http library?
I've never heard of it, but maybe you could clone a copy of Shnatsel/rust-http-clients-smoke-test, add it, and see how it fares?
-
http client facade library?
Here's the same thing made with different HTTP clients: https://github.com/Shnatsel/rust-http-clients-smoke-test
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.
What are some alternatives?
When comparing rust-http-clients-smoke-test and surf you can also consider the following projects:
ureq - A simple, safe HTTP client
reqwest - An easy and powerful Rust HTTP Client
isahc - The practical HTTP client that is fun to use.
asserhttp - Fluent http assertions
rust - Empowering everyone to build reliable and efficient software.
ripgrep - ripgrep recursively searches directories for a regex pattern while respecting your gitignore
dockery_thing - can we build a cross-compiled docker image?
rustls - A modern TLS library in Rust
async-std - Async version of the Rust standard library
hyper - An HTTP library for Rust
HKTs - Seamless Higher-Kinded Types in Rust