Closed
Description
I just had a confusion when trying to run examples from the "main" branch with latest released uefi-rs crate 0.16.0.
It turns out that you cannot yet call open_protocol
and just dereference the returned ScopedProtocol
to the actual Protocol
, because #434 didn't make it into 0.16.0.
What is even more confusing though is this attribute in the current "main" branch:
Lines 1399 to 1400 in d3206d6
Claiming that ScopedProtocol::interface
was deprecated in 0.16.0 is wrong when it was actually only deprecated in "main".
I don't know what your next release will be, but the attribute should first be updated to the version number of that release.
Metadata
Metadata
Assignees
Labels
No labels
Activity
Update deprecation version in ScopedProtocol::interface
nicholasbishop commentedon Aug 24, 2022
Good catch, apologies for the confusion that created. PR is up to bump
since
to the next version.Update deprecation version in ScopedProtocol::interface