Crates.io | publicip |
lib.rs | publicip |
version | 0.3.0 |
source | src |
created_at | 2020-11-25 01:52:52.019301 |
updated_at | 2020-11-25 21:08:57.904514 |
description | Get the public ipv4 or ipv6 address |
homepage | |
repository | https://github.com/prabirshrestha/publicip.rs |
max_upload_size | |
id | 316142 |
size | 55,874 |
Get your public IP addreess
cargo install publicip
USAGE:
publicip [OPTIONS]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-4, --ipv4 <ipv4> Return the IPv4 address [default: true]
-6, --ipv6 <ipv6> Return the IPv6 address [default: false]
$ publicip
10.11.12.10
MIT