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

Enums

  • The current set of operations

Functions

  • Minimalistic API