Skip to content

feat: add dummy implementation for Hurd - #54

Open
pinotree wants to merge 1 commit into
repnop:masterfrom
pinotree:dummy-hurd
Open

feat: add dummy implementation for Hurd#54
pinotree wants to merge 1 commit into
repnop:masterfrom
pinotree:dummy-hurd

Conversation

@pinotree

@pinotree pinotree commented Jun 8, 2026

Copy link
Copy Markdown

At the moment, the Hurd does not have a non-portable way to get the MAC address of network interfaces.

Considering that the API of this crate already considers the cases "no interfaces with MAC addresses" and "no matching interface", then:

  • add a dummy implementation that provides no network interfaces and return no MAC address
  • use this implementation on the Hurd

This crate has a growing amount of other crates that rely on it, either as mandatory or optional requirement. Since the API allows for this, with such implementation it is possible to avoid changes in the dependency tree of other crates.

At the moment, the Hurd does not have a non-portable way to get the
MAC address of network interfaces.

Considering that the API of this crate already considers the cases
"no interfaces with MAC addresses" and "no matching interface", then:
- add a dummy implementation that provides no network interfaces and
  return no MAC address
- use this implementation on the Hurd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant