-
Notifications
You must be signed in to change notification settings - Fork 105
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
Split into more modules and files #252
Comments
In this commit, the module is kept private and its items re-exported from the crate root. We name it `wrappers`, but that's a bad (if accurate) name. We can bikeshed the real name if/when we decide to make it pub. Makes progress on #252
In this commit, the module is kept private and its items re-exported from the crate root. We name it `wrappers`, but that's a bad (if accurate) name. We can bikeshed the real name if/when we decide to make it pub. Makes progress on #252
A rough proposal:
|
Presumably
I'd push back on this - I think most of the users who need these types probably know about byte order and know that that's what they're looking for. Note that we call out byte order explicitly in the trait docs:
+1
+1 to these going in a dedicated module; name might need bikeshedding. |
Hi, I looked over a lot of the code and would like to try taking this on with some guidance. I assume the end goal would be to keep the module interface the same while splitting the code. The proposal (f5c5193) keeps the top of the module in the |
Hey @kbujari, now isn't a great time for this refactor since we have a lot of outstanding changes that would be affected by a module refactor (ie, it would generate a large amount of rebasing and make PR history hard to follow). It probably makes sense to wait for 0.8.0 to be released - at that point, we'll have fewer changes in flight. |
We've done significant splitting work since this was last modified. IMO it's in a good state, and we can always re-open this later. |
Currently, our source code is organized mostly in a few large modules, and even some of the smaller modules are combined within larger files. At this point, it makes sense to split things up somewhat.
@kupiakos has a proposal for this in f5c5193.
If you're going to take a stab at this, please comment first so that I can suggest a module breakdown to start with. We'll want to start with something very coarse-grained so that it's obviously the right move, and then we can get more fine-grained over time if we decide it's worth it.
The text was updated successfully, but these errors were encountered: