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

Using as a library includes dependencies that only the binary needs #36

Open
kevlarr opened this issue Mar 3, 2023 · 0 comments
Open

Comments

@kevlarr
Copy link
Collaborator

kevlarr commented Mar 3, 2023

The lib itself does not need clap or termcolor so they should not be included outside of the binary. For this really simple setup, maybe use option 2 from https://stackoverflow.com/a/26953326/4747937

Also, see: https://rust-cli-recommendations.sunshowers.io/binaries-vs-libraries.html#if-youve-decided-to-make-a-library

@kevlarr kevlarr added this to the v2.0.0 milestone Mar 3, 2023
@kevlarr kevlarr removed this from the v2.0.0 milestone Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant