Comments (7)
Thanks for the feedback and sharing your workaround.
I haven't done any async work in Rust yet so it's more likely I'm missing something than you. The library is really just a glorified library of structs so maybe it has something to do with using the blocking version of Reqwest?
I like your idea of having the option to execute your own HTTP GET request and sending back the results. I'm not a big fan of having Reqwest as a dependency.
It might be a week or two before I can look at this more closely.
from google_maps.
Having the same problem here.
from google_maps.
FYI I've encountered the same issue when using blocking Reqwest client, independently of google_maps. Might be an issue in Reqwest or tokio, which I intend to minimize and report.
from google_maps.
I had this issue before, and had created an async fork of this project for my own use here. You may take reference from the approach.
from google_maps.
@headuck do you have any plans to update it for tokio 1?
from google_maps.
@Mause My fork is being used in a 0.2 environment with other crates which also depends on 0.2. Perhaps need to wait a little bit when the dependencies are updated.
from google_maps.
@headuck no worries, I wound up using the compatibility crate and it worked with no issues
from google_maps.
Related Issues (7)
- Distance matrix api response elements are private HOT 1
- [Feature request] Place autocomplete API HOT 2
- Distance matrix struct, makes a request with coordinates in degrees HOT 4
- Support providing a preconfigured reqwest client to ClientSettings HOT 2
- Switch from `log` to `tracing` HOT 3
- (full) Web Assembly support HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google_maps.