From 75f24cfe6c812343e525b0126bcba1ba9ac674a8 Mon Sep 17 00:00:00 2001 From: shellrow <81893184+shellrow@users.noreply.github.com> Date: Sun, 16 Jan 2022 21:47:23 +0900 Subject: [PATCH] Update README.md --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 17d31f0..d6bfc02 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,12 @@ [license-badge]: https://img.shields.io/crates/l/default-net.svg [examples-url]: https://github.com/shellrow/default-net/tree/main/examples # default-net [![Crates.io][crates-badge]][crates-url] ![License][license-badge] -Get default network information + `default-net` provides a cross-platform API for network interface and gateway. +- Get default Network Interface and Gateway information +- Get list of available Network Interfaces + ## Supported platform - Linux - macOS @@ -19,6 +22,7 @@ default-net = "0.7.0" ``` ## Example +The following example retrieves and displays information about the default network interface. ```rust use default_net;