grantshandy / nominatim-rs

REST API bindings for the reverse geocoding service.
MIT License
6 stars 12 forks source link

Ability to use wasm http requests #11

Open athanclark opened 9 months ago

athanclark commented 9 months ago

Hello!

I really like this crate - it's very useful for fetching data from the Nominatim API. However, I'd like to use this library exclusively in WASM. I'm submitting this PR as a proof-of-concept for how it could work - by using feature flags and #[cfg(...)], we can match on the dependencies we'd need in either platform.

Please let me know what you think!