Skip to content
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 subpackages #1180

Closed
hughesjs opened this issue Jan 7, 2023 · 1 comment
Closed

Split into subpackages #1180

hughesjs opened this issue Jan 7, 2023 · 1 comment

Comments

@hughesjs
Copy link

hughesjs commented Jan 7, 2023

Is your feature request related to a problem? Please describe.
It's unfortunate to have to ship all units if my application is only using a small subsection.
For instance, if I'm making a package concerned with weights, mass, and distance, there's not much point including Candela in my application.

Describe the solution you'd like
Split the solution into domain packages along the lines of UnitsNet.Newtonian, UnitsNet.Electricity etc.

Describe alternatives you've considered
A package for each unit rather than each domain, but that could get cumbersome

@angularsen
Copy link
Owner

Hi, yes I have been doing some investigation into this.
Work in progress branch here: #1181

Please review the design proposal and the problems discovered so far, if you have any ideas or comments about this approach. If you want to help move that project forward, that would also be helpful. I don't have much time to spend on the project so it moves slowly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants