-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Move binaries to another crate to clean up dependencies #15
Comments
Yeah, that definitely doesn't sound right. Is there a way to specify that a dependency is only for the binaries maybe? |
Is Also, perhaps take a look at argh, which is a lot like structopt, but leaner & lighter in dependencies. |
Apparently not. |
If I'm not mistaken, dependencies only used in binaries are |
You can use workspaces and cleanup the repo. keep project in this repo split code binaries and lib in two crates something like: in root Cargo.toml you just put then in the subdirs you add the "real" cargo.toml and its dependencies. libwl-clipboard # publish as new crate mark the old crate as deprecated. |
Closed by #19. |
Using this crate as a library requires pulling and building
structopt
which is unnecessary and introduces 100+ extra dependencies. Creating a workspace and a separate crate for the binaries would solve this.The text was updated successfully, but these errors were encountered: