Docs.rs
canihazip-3.0.0
canihazip 3.0.0
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
hugglesfox
Dependencies
reqwest ^0.11
normal
tokio ^1.11
dev
Versions
80%
of the crate is documented
Platform
i686-pc-windows-msvc
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Crate canihazip
canihazip
3.0.0
All Items
Sections
CanIHazIP
Example
Crate Items
Functions
Type Aliases
Crate
canihazip
Copy item path
Source
Expand description
§
CanIHazIP
CanIHazIP gets your current public ip address using
icanhazip
§
Example
let
ip = canihazip::plz_ip().
await
?
;
Functions
§
plz_ip
Get your current public IP address.
plz_
ipv4
Get your current public IPv4 address.
plz_
ipv6
Get your current public IPv6 address.
Type Aliases
§
Error