Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 486 Bytes

File metadata and controls

33 lines (21 loc) · 486 Bytes

ipfy_public_ip

A tiny crate providing the find_ip function, which will return the public ip of the request.

Documentation

this is simple to use tiny package. API documentation is here.

Installation

In Cargo.toml:

[dependencies]
ipfy-public-ip = "0.1.1"

And in your crate root:

use ipfy_public_ip;

Example

use ipfy_public_ip;

let res = ipfy_public_ip::find_ip();
println!("{}", res);