ipinfo / rust

IPinfo Rust library for IPinfo API (IP geolocation and other types of IP data)
https://ipinfo.io
Apache License 2.0
56 stars 14 forks source link

Consider implementing `serde::ser::Serialize` for IpDetails and friends #16

Closed thesurlydev closed 3 years ago

thesurlydev commented 3 years ago

I'm putting together a quick CLI based on this library and would like to return arbitrary JSON using serde but this is an issue since the serde::ser::Serialize trait is not included on the structs.

I'd be willing to contribute this change if you're okay with it?

UmanShahzad commented 3 years ago

@digitalsanctum It'd be very welcome. Thanks ahead of time!