-
Notifications
You must be signed in to change notification settings - Fork 39
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
Library Binary Pattern #124
Comments
Yup, this is a really good idea. This is something that we had thought about earlier, but never got around to doing. I'd love to see it implemented. |
@CohenArthur @Skallwar initial lib-bin split is #141 |
Add a checkbox list to this issue to make it a tracking issue of the patch-set |
I would also like to see the argument parsing moved to the bin |
Hi @pinkforest, I hope you are doing well. I was wondering if you are not planing to followup on this or if you are just taking a break? |
Tracking Patch-Set
Intent
@CohenArthur @Skallwar Are you okay if I change to lib-bin pattern from binary only now?
Essentially I would split all the library logic to library and binary that requires different things e.g. for shell related libraries.
This is a common pattern and will make organising code, benches, testing and dependency management easier between two sets of needs among other things.
Also common pattern is that library will never panic whilst binary may panic but idea is to propagate errors to binary.
The text was updated successfully, but these errors were encountered: