local-ip-address
Retrieve system's local IP address and Network Interfaces/Adapters on Linux, macOS and Windows.
0.6.13
31M downloads/mo
#1637 most downloaded on crates.io
LeoBorai/local-ip-address
What this package is like to depend on
Last release 3 months ago
19 May 2026
Release timing varies
gaps range from 8 days to 8 months
Some releases are documented
notes for 17 of 33 stable releases
2 versions withdrawn
withdrawn after publishing
5 years old
35 releases · first in 2021
8 releases in the last 12 months
see the full history below
Release timeline
35 releases · Jun 2021 to May 2026Releases
latest 35-
0.6.1319 May 2026Release notes
Open source →What's Changed
- fix(linux): initialize
ifa_prefixlenby @fawdlstty in #165
New Contributors
- @fawdlstty made their first contribution in #165
Full Changelog: v0.6.12...v0.6.13
- fix(linux): initialize
-
0.6.1221 Apr 2026Release notes
Open source →What's Changed
- chore(deps): bump actions/github-script from 8 to 9 by @dependabot[bot] in #163
- chore(deps): bump dependabot/fetch-metadata from 3.0.0 to 3.1.0 by @dependabot[bot] in #164
Full Changelog: v0.6.11...v0.6.12
-
0.6.1131 Mar 2026Release notes
Open source →What's Changed
- chore(deps): bump dependabot/fetch-metadata from 2.4.0 to 2.5.0 by @dependabot[bot] in #159
- chore(deps): bump dependabot/fetch-metadata from 2.5.0 to 3.0.0 by @dependabot[bot] in #162
Full Changelog: v0.6.10...v0.6.11
-
0.6.1030 Jan 2026Release notes
Open source →What's Changed
- deps: Bump neli mimimum version to 0.7.4 by @jbaublitz in #161
New Contributors
- @jbaublitz made their first contribution in #161
Full Changelog: v0.6.9...v0.6.10
-
0.6.913 Jan 2026Release notes
Open source → -
0.6.815 Dec 2025Release notes
Open source →What's Changed
- chore(deps): bump dependabot/fetch-metadata from 1.6.0 to 2.0.0 by @dependabot[bot] in #138
- chore(deps): bump actions/cache from 3 to 4 by @dependabot[bot] in #131
- chore(deps): bump actions/github-script from 7 to 8 by @dependabot[bot] in #156
- chore(deps): bump actions/cache from 4 to 5 by @dependabot[bot] in #155
- chore(deps): bump actions/checkout from 4 to 6 by @dependabot[bot] in #154
- chore(deps): bump dependabot/fetch-metadata from 2.0.0 to 2.4.0 by @dependabot[bot] in #153
Full Changelog: v0.6.7...v0.6.8
-
0.6.712 Dec 2025Release notes
Open source →What's Changed
- fix: null pointer exceptions on Android by @burningtnt in #152
New Contributors
- @burningtnt made their first contribution in #152
Full Changelog: v0.6.6...v0.6.7
-
0.6.606 Dec 2025 -
0.6.502 May 2025Release notes
Open source → -
0.6.425 Apr 2025 withdrawnRelease notes
Open source →What's Changed
- fix: is_mobile_data() to support without android by @nkon in #144
- build: bump thiserror dep to 2 by @tisonkun in #145
- fix(win): elided lifetime by @LeoBorai in #148
New Contributors
Full Changelog: v0.6.30.59.0...v0.6.4
-
0.6.317 Sep 2024Nothing published for this version
-
0.6.229 Aug 2024Nothing published for this version
-
0.6.125 Feb 2024Nothing published for this version
-
0.6.020 Feb 2024Nothing published for this version
-
0.5.720 Jan 2024Nothing published for this version
-
0.5.627 Sep 2023Nothing published for this version
-
0.5.513 Sep 2023Nothing published for this version
-
0.5.427 Jul 2023Nothing published for this version
-
0.5.307 May 2023Nothing published for this version
-
0.5.204 Mar 2023 withdrawnNothing published for this version
-
0.5.110 Jan 2023Nothing published for this version
-
0.5.030 Dec 2022Nothing published for this version
-
0.4.917 Oct 2022Nothing published for this version
-
0.4.831 Aug 2022Nothing published for this version
-
0.4.717 Aug 2022Nothing published for this version
-
0.4.627 Jul 2022Nothing published for this version
-
0.4.514 Jul 2022Nothing published for this version
-
0.4.417 Aug 2021Release notes
Open source →Requires Rust: rustc 1.52.1 (9bc8c42bb 2021-05-09)
Fixes
- Dependencies updates
<a name="v0.4.3"></a>
-
0.4.310 Aug 2021Release notes
Open source →Requires Rust: rustc 1.52.1 (9bc8c42bb 2021-05-09)
Fixes
- Dependencies updates
<a name="v0.4.2"></a>
-
0.4.214 Jul 2021Release notes
Open source →Requires Rust: rustc 1.52.1 (9bc8c42bb 2021-05-09)
Fixes
- Fix missing author and year on Apache License
<a name="v0.4.1"></a>
-
0.4.107 Jul 2021Release notes
Open source →Requires Rust: rustc 1.52.1 (9bc8c42bb 2021-05-09)
Fixes
- Fixed compilation failure on Raspberry-Pi flavor Linux Issue #10
<a name="v0.4.0"></a>
-
0.4.030 Jun 2021Release notes
Open source →Requires Rust: rustc 1.52.1 (9bc8c42bb 2021-05-09)
Features
-
Provide a Netlink based implementation for Linux
-
Rename methods to achieve a intuitive and easy to understand API
find_af_inettofind_af_inet
-
Normalize errors through systems on calls to
local_ip
<a name="v0.3.0"></a>
-
-
0.3.019 Jun 2021Release notes
Open source →Requires Rust: rustc 1.52.1 (9bc8c42bb 2021-05-09)
Features
- Provide support for Windows. Kudos to @nicguzzo.
<a name="v0.2.0"></a>
-
0.2.017 Jun 2021Release notes
Open source →Requires Rust: rustc 1.52.1 (9bc8c42bb 2021-05-09)
Features
-
Implement
find_af_inetwhich retrieves network interfaces which belongs to either of both AF_INET or AF_INET6 -
Implement
find_ifawhich find a network interface with a specific name in a vector of network interfaces
Fixes
-
Reimplement approach using
getifaddrsinstead of relying on stdout from command execution -
Use different network interface names for "macos" and "linux" instead of relying on "en0" for all os from the "unix" family
<a name="v0.2.0"></a>
-
-
0.1.015 Jun 2021Release notes
Open source →Requires Rust: rustc 1.52.1 (9bc8c42bb 2021-05-09)
Features
Features
- Implement local IP address retrieving for Unix systems