Crate ipify_rs

Source
Expand description

Ipify

My implementation of the ipify-cli.org API to get your own public IP address

The fastest way to use it is to use the myip() wrapper:

Example:

use ipify_rs::myip;

println!("My IP is: {}", myip());

The full API is described below.

Structs§

Ipify
The main API struct

Enums§

Op
The current set of operations

Functions§

myip
Minimalistic API