1 unstable release

0.1.0 Aug 29, 2023

#7 in #acquire

MIT license

10KB

use geo_ip;
use serde_json::Value;

#[tokio::main]
async fn main() {
    let r = geo_ip::geo_ip::<Value>(None).await.unwrap();
	println!("{r:#?}");

	let r = geo_ip::geo_ip::<Value>(Some("1.1.1.1".to_owned())).await.unwrap();
}

Dependencies

~6–18MB
~250K SLoC