5 stable releases
3.0.0 | Sep 13, 2021 |
---|---|
2.0.2 | Aug 30, 2020 |
2.0.0 | May 15, 2020 |
1.0.1 | May 14, 2020 |
#3 in #unoffical
32 downloads per month
5KB
59 lines
canihasip-rs
An [unoffical] rust crate for icanhazip
Usage
let ip = canihazip::plz_ip().await?;
Contributing
Please feel free to open a PR if there is something that can be improved!
License
canihazip-rs is licenced under the MIT licence.
lib.rs
:
CanIHazIP
CanIHazIP gets your current public ip address using icanhazip
Example
let ip = canihazip::plz_ip().await?;
Dependencies
~3–15MB
~213K SLoC