Open Austaras opened 3 months ago
Actually the blocking-reqwest feature uses reqwest which uses tokio.
And it also has an async network client feature that exposes the async API, but then there's no convenient high-level method like synchronous code have.
The underlying crate supports async/sync.
The way I understand this issue is such that wherever currently async-std
is used, there should be an alternative that uses the respective tokio
type. This way, those who have tokio
running already can just use that, without the need to link to another runtime.
Summary 💡
Title.
Motivation 🔦
It won't make any difference to end user, but when consumed as a rust lib, it would be great if one can use gitoxide with the more popular async runtime.