-
Notifications
You must be signed in to change notification settings - Fork 433
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add IP medium support, part 2 #401
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dirbaio
force-pushed
the
medium-ip-part2
branch
from
December 27, 2020 23:13
e35e1f8
to
f414d89
Compare
Dirbaio
force-pushed
the
medium-ip-part2
branch
4 times, most recently
from
January 9, 2021 01:21
c70eadc
to
0a6c281
Compare
Dirbaio
force-pushed
the
medium-ip-part2
branch
from
January 19, 2021 22:14
0a6c281
to
3469a51
Compare
This was referenced Feb 2, 2021
Dirbaio
force-pushed
the
medium-ip-part2
branch
3 times, most recently
from
March 24, 2021 23:21
691469d
to
38276fa
Compare
Dirbaio
force-pushed
the
medium-ip-part2
branch
2 times, most recently
from
March 25, 2021 00:13
91f08a2
to
56d70a8
Compare
@whitequark this is ready to go :) This is now stuck with 22 pending tests that will never happen because the Cargo features have been renamed... Best solution is to probably tweak repo settings to mark the new checks as required, then merge..? |
- Add `medium` in `DeviceCapabilities`. - Rename EthernetInterface to Interface. - Add support to Interface for both Ethernet and IP mediums. The medium to use is detected from `device.capabilities().medium`. - Ethernet-only features are gated behind the "ethernet" feature, as before. - IP features are always enabled for now.
DeviceCapabilities contains the `medium` field, so tests had to give it a value even if it was unused. This is impossible to do with no `medium-*` enabled, because it makes `Medium` uninhabited (empty enum).
Dirbaio
force-pushed
the
medium-ip-part2
branch
from
March 31, 2021 15:05
56d70a8
to
56bff5d
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Previously #336 #346.
includes #399, review that one firstTODO:
Device
is not object-safe.