-
Notifications
You must be signed in to change notification settings - Fork 18
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
Full rewrite of the crate #23
Conversation
I accidentally wrote `Rdsp` instead of `Rsdp`, in multiple places. Oops!
Additionally, export it as a `Duration`
`new` no longer takes a parameter.
`InternalModules` no longer exists. Instead, a simple slice is used.
Currently, it's only stable on 1.77.
Clippy already builds
Alright, everything should be done now. Merge at your earliest convenience. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make up your mind about the spacing in between items and whether the doc comments should be put before or after attributes. The spacing is inconsistent with multiple items having no spacing in between and some doc comments being put between the attributes and the item they belong to
Yeah sorry about that, I thought I caught all of those. I'll do a regex search I guess. |
A user can attempt the conversion themself
This crate is not in great shape. It has 4 unresolved issues, all of which are UB. It also does not correctly support platform-specific features. The API is confusing, and leaves much to be desired.
In this rewrite, I took into account my own struggles with the crate, as well as comments from other users. The history of this crate is rough, but I hope we can turn it around starting now.
I'll note that my changes are heavily opinionated (rustfmt, clippy with
-D warnings
, etc.), so feel free to bring up your concerns if you have any. I also have not implemented any tests, but I figure we can implement tests through the barebones project.This fixes #12 and fixes #14, and indirectly fixes #13 and indirectly fixes #16 by way of removing them.
Edit: GitHub doesn't understand "and"