We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b112019 commit 524dc7dCopy full SHA for 524dc7d
examples/basic.rs
@@ -1,5 +1,7 @@
1
#[tokio::main]
2
async fn main() {
3
+ println!("builtin support: {:?}", public_ip::support());
4
+
5
// Attempt to get an IP address and print it.
6
if let Some(ip) = public_ip::addr().await {
7
println!("public ip address: {:?}", ip);
0 commit comments