From 74655f9cf53162e13c8c5de8c3658229cec2d3b7 Mon Sep 17 00:00:00 2001 From: shellrow Date: Wed, 3 Jun 2026 21:28:53 +0900 Subject: [PATCH 1/3] chore: update README.md --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index dacbddd..934ec24 100644 --- a/README.md +++ b/README.md @@ -25,9 +25,9 @@ and retrieving commonly used metadata across platforms. - Native traffic statistics (RX/TX bytes) for each interface - Designed for **cross-platform** -See the [Interface][doc-interface-url] struct documentation for detail. +See the [Interface][doc-interface-url] struct documentation for more details. -## Supported platform +## Supported platforms - Linux - macOS - Windows @@ -36,7 +36,7 @@ See the [Interface][doc-interface-url] struct documentation for detail. - BSDs ## Usage -Add `netdev` to your `Cargo.toml` +Add `netdev` to your `Cargo.toml`: ```toml [dependencies] netdev = "0.43" @@ -54,7 +54,7 @@ For more details, see [examples][examples-url] or [doc][doc-url]. - Enables deeper Android metadata enrichment using Android platform APIs through JNI bindings. - On Android, this can add metadata such as traffic stats, DNS servers, DHCP hints, and Wi-Fi link speed when the app provides the required Android context and permissions. -To opt out of the deeper Apple enrichment while keeping gateway helpers: +To opt out of the additional Apple metadata enrichment while keeping gateway helpers: ```toml [dependencies] @@ -62,15 +62,15 @@ netdev = { version = "0.43", default-features = false, features = ["gateway"] } ``` ## Apple behavior -`netdev` links `SystemConfiguration.framework` automatically on `macOS` and `iOS` through the crate's own build script. -If your final app link is performed by Xcode, you may still need to add `SystemConfiguration.framework` to the app target manually. +`netdev` links `SystemConfiguration.framework` automatically on `macOS` and `iOS` through its build script. +If your app is ultimately linked by Xcode, you may still need to add `SystemConfiguration.framework` to the app target manually. ## Android behavior If you want Android-specific values such as DNS servers, DHCP hints, or Wi-Fi link speed, your app may still need to initialize the Android context for Rust and declare Android permissions such as `ACCESS_NETWORK_STATE` and `ACCESS_WIFI_STATE`. ## Project History -This crate was originally published as [default-net][default-net-crates-io-url] -and later rebranded to `netdev` by the author myself for future expansion, clearer naming, and long-term maintenance. +This crate was originally published as [default-net][default-net-crates-io-url] +and was later rebranded to `netdev` by the author for future expansion, clearer naming, and long-term maintenance. ## Tested on - Linux From 2dca33989e4f889f4fb04e4d1114263df455e534 Mon Sep 17 00:00:00 2001 From: shellrow Date: Wed, 3 Jun 2026 21:35:15 +0900 Subject: [PATCH 2/3] chore: bump version to 0.44.0 --- Cargo.toml | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 1c9d5b4..1272285 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "netdev" -version = "0.43.0" +version = "0.44.0" authors = ["shellrow "] edition = "2024" description = "Cross-platform library for enumerating network interfaces with metadata." diff --git a/README.md b/README.md index 934ec24..0b85956 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ See the [Interface][doc-interface-url] struct documentation for more details. Add `netdev` to your `Cargo.toml`: ```toml [dependencies] -netdev = "0.43" +netdev = "0.44" ``` For more details, see [examples][examples-url] or [doc][doc-url]. From 0eb089580d93766a429d162489769e180b71139c Mon Sep 17 00:00:00 2001 From: shellrow Date: Wed, 3 Jun 2026 21:36:45 +0900 Subject: [PATCH 3/3] chore: bump version to 0.44.0 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0b85956..67ae086 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ To opt out of the additional Apple metadata enrichment while keeping gateway hel ```toml [dependencies] -netdev = { version = "0.43", default-features = false, features = ["gateway"] } +netdev = { version = "0.44", default-features = false, features = ["gateway"] } ``` ## Apple behavior