Crate ipify_api[][src]

The ipify_api crate provides functionalities to retrieve your public IP. This crate builds on rust-stable.

It uses hyper along with ipify. To use this, add the following to your Cargo.toml.

 ipify_api = "1.0.0"

and add this to your crate root:

 extern crate ipify;



This function takes an ipify endpoint to query. Works only on HTTP. If an empty string is given, it uses the default (