You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
netwatch: bump netdev to 0.46 to drop the default CoreWLAN XPC round-trip (apple-wifi-extra is now opt-in) #207
netdev 0.46.0 (via shellrow/netdev#175) moved the macOS Wi-Fi transmit-rate lookup behind a new opt-in feature, apple-wifi-extra. Under the default features, get_interfaces() no longer performs a synchronous XPC round-trip to airportd per Wi-Fi interface, and objc2-core-wlan (plus its objc2/objc2-foundation companions) drops out of the macOS tree entirely.
netwatch currently pins netdev = "0.45.0" — the last version where that lookup is unconditional. Two data points for why the bump is worth it for netwatch specifically:
netwatch never consumes the value the XPC pays for. The only textual reference to transmit_speed in the crate is the fake() test-fixture constructor in src/interfaces.rs; the real paths (interfaces.rs, ip.rs, interfaces/bsd.rs) call netdev::interface::get_interfaces() and read link/address state only.
The cost lands on hot paths. netwatch re-enumerates on every network event, and downstreams like iroh pay one enumeration at every endpoint bind. We've measured the CoreWLAN call as state-dependent: single-digit milliseconds on a quiet host, ~0.3–0.5 s per process on busy hosts (the numbers in netdev#175 match ours), and we have one recorded state where enumeration blocked for ~30 s; it did not reproduce after the host's state changed — state-dependent, not constant. A default code path that can block bind on Wi-Fi-daemon state, to fetch a number nothing reads, seems worth being rid of now that upstream made it optional.
One honest caveat: 0.45 → 0.46 is a 0.x minor, so there may be real API churn behind it (netwatch mirroring netdev types rather than re-exporting them, per #163, should contain the blast radius — but we haven't compiled the bump). Happy to open the bump PR including any mirror adjustments if that's welcome — just say the word.
Activity
fix(ios): patch netdev so the app launches on iOS 15 to 17 (#11948)
flub commentedon Aug 19, 2026
Please don't copy-paste so much llm text. You could write this much shorter and equally clear :)
flub commentedon Aug 19, 2026
done in #209