{"id":17469781,"url":"https://github.com/shellrow/netdev","last_synced_at":"2026-04-11T17:13:38.466Z","repository":{"id":40486315,"uuid":"356577683","full_name":"shellrow/netdev","owner":"shellrow","description":"Cross-platform library for network interface and gateway. Written in Rust.","archived":false,"fork":false,"pushed_at":"2025-04-21T11:19:05.000Z","size":274,"stargazers_count":73,"open_issues_count":7,"forks_count":17,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-07T13:42:31.333Z","etag":null,"topics":["gateway","network","network-inference","rust","rust-crate","rust-library"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shellrow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-04-10T12:38:26.000Z","updated_at":"2025-04-21T11:06:08.000Z","dependencies_parsed_at":"2023-01-31T19:15:45.425Z","dependency_job_id":"c85955e3-53c5-4e88-8627-1210c9b74d5f","html_url":"https://github.com/shellrow/netdev","commit_stats":{"total_commits":162,"total_committers":6,"mean_commits":27.0,"dds":"0.11728395061728392","last_synced_commit":"18102e58c0749879c6b122d591bb8eaee2686189"},"previous_names":["shellrow/netdev","shellrow/default-net"],"tags_count":40,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shellrow%2Fnetdev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shellrow%2Fnetdev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shellrow%2Fnetdev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shellrow%2Fnetdev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shellrow","download_url":"https://codeload.github.com/shellrow/netdev/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254518383,"owners_count":22084374,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gateway","network","network-inference","rust","rust-crate","rust-library"],"created_at":"2024-10-18T15:43:46.060Z","updated_at":"2026-04-11T17:13:38.454Z","avatar_url":"https://github.com/shellrow.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[crates-badge]: https://img.shields.io/crates/v/netdev.svg\n[crates-url]: https://crates.io/crates/netdev\n[license-badge]: https://img.shields.io/crates/l/netdev.svg\n[examples-url]: https://github.com/shellrow/netdev/tree/main/examples\n[doc-url]: https://docs.rs/netdev/latest/netdev\n[doc-interface-url]: https://docs.rs/netdev/latest/netdev/interface/interface/struct.Interface.html\n[netdev-github-url]: https://github.com/shellrow/netdev\n[default-net-github-url]: https://github.com/shellrow/default-net\n[default-net-crates-io-url]: https://crates.io/crates/default-net\n\n# netdev [![Crates.io][crates-badge]][crates-url] ![License][license-badge]\n\nCross-platform library for enumerating network interfaces with metadata.    \n`netdev` provides a unified API for discovering local network interfaces\nand retrieving commonly used metadata across platforms.\n\n## Key Features\n- Enumerate all available network interfaces\n- Detect the default network interface\n- Retrieve interface metadata:\n    - Interface type\n    - MAC address\n    - IPv4 / IPv6 addresses and prefixes\n    - MTU, flags, operational state, etc...\n- Native traffic statistics (RX/TX bytes) for each interface\n- Designed for **cross-platform**\n\nSee the [Interface][doc-interface-url] struct documentation for detail.\n\n## Supported platform\n- Linux\n- macOS\n- Windows\n- Android\n- iOS (and other Apple targets)\n- BSDs\n\n## Usage\nAdd `netdev` to your `Cargo.toml`\n```toml\n[dependencies]\nnetdev = \"0.42\"\n```\n\nFor more details, see [examples][examples-url] or [doc][doc-url].  \n\n## Project History\nThis crate was originally published as [default-net][default-net-crates-io-url] \nand later rebranded to `netdev` by the author myself for future expansion, clearer naming, and long-term maintenance.\n\n## Tested on\n- Linux\n    - Ubuntu \n        - 24.04\n        - 22.04\n        - 21.10 \n        - 20.04 \n        - 18.04\n    - Kali \n        - 2024.2\n        - 2023.2\n        - 2022.1\n        - 2021.1\n    - Arch \n        - 2024.05.01\n- macOS (Apple Silicon)\n    - 26.3.1\n    - 14.7.6\n- macOS (Intel)\n    - 13.4.1\n    - 11.6\n- Windows \n    - 11 25H2 26200.8037\n    - 11 24H2 26100.6584\n    - 11 23H2 22631.4602\n    - 11 Pro 22H2 22621.3155\n    - 11 22H2 22621.3155\n    - 10 21H2 19044.1586\n- FreeBSD\n    - 14\n- Android (arm64)\n    - 16.0\n- Android (x86_64)\n    - 16.0\n- iOS\n    - 18.6.2\n    - 18.1.1\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshellrow%2Fnetdev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshellrow%2Fnetdev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshellrow%2Fnetdev/lists"}