Skip to content
This repository has been archived by the owner on Oct 18, 2022. It is now read-only.

Don't use reqwest::blocking resolves #60 #78

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

ict-cloud
Copy link

Hi Jonas

This is a working minimal version without any noticeable regressions for the elimination of reqwest::blocking.
I have refactored the transport implementation to use reqwest and used tokio Runtime (in order to avoid additional dependencies) to execute the blocking thread. As a return value I chose the Cursor which lefts the trait untouched and can be properly handled.
I also updated to the 2021 syntax and upgraded some of the dependencies.

I hope you find all the necessary work done properly (this is my firs PR for a Rust crate). Otherwise let me know if I need to change anything.

Best
P

@ict-cloud ict-cloud changed the title Don't use reqwest::blocking #60 Don't use reqwest::blocking resolves #60 Mar 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant