mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-23 12:09:37 +00:00
b9983bf133
reqwest was replaced with hyper and hyper-rustls within monero-serai due to reqwest *solely* offering a connection pool API. In the process, it was demonstrated how quickly we can achieve equivalent functionality to reqwest for our use cases with a fraction of the code. This adds our own reqwest alternative to the tree, applying it to both bitcoin-serai and message-queue. By doing so, bitcoin-serai decreases its tree by 21 packages and the processor by 18. Cargo.lock decreases by 8 dependencies, solely adding simple-request. Notably removed is openssl-sys and openssl. One noted decrease functionality is the requirement on the system having installed CA certificates. While we could fallback to the rustls certificates if the system doesn't have any, that's blocked by https://github.com/rustls/hyper-rustls/pulls/228.
7 lines
285 B
Markdown
7 lines
285 B
Markdown
# Simple Request
|
|
|
|
A simple alternative to reqwest, supporting HTTPS, intended to support a
|
|
majority of use cases with a fraction of the dependency tree.
|
|
|
|
This library is built directly around `hyper`, `hyper-rustls`, and does require
|
|
`tokio`. Support for `async-std` would be welcome.
|