This repository has been archived by the owner on Dec 3, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Remove anyhow
, structopt
from lib dependencies
#7
Comments
Johann Hemmann <notifications@github.com> writes:
What do you think about this?
Of course. But apparently there is no easy way to separate bin/lib
dependencies. See <rust-lang/cargo#1982>. An
alternative is to split the crate in two, but I would prefer not to.
|
I see that this is a bit more complicated than expected and understand that you'd like to keep the crates combined. I will think about a approach and propose it here 😄 |
The crate shares the same name as the executable also, which may be
cause for trouble (it already is when generating documentation locally).
#8 would warrant a name-change on the crate.
|
So what do you think of the idea of hiding the deps behind a cargo feature |
LGTM. Create the PR and I'll merge it.
|
Merged
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi @tmplt,
I'd appreciate if we could remove
anyhow
andstructopt
from the dependency tree of the library, since they are not required for it, but only the bin, as you also state in theCargo.toml
.What do you think about this?
The text was updated successfully, but these errors were encountered: