-
Notifications
You must be signed in to change notification settings - Fork 35
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
Requires env-logger #15
Comments
Unfortunately, that's not how it works, see: db6e700. |
I assume the above answers the question. |
Hey, @d-e-s-o. Apologies if you're already aware of this. If you wanted to make this work, you just need to structure this as two different crates. If you moved the current macro crate into a |
Ah interesting. Yeah, I didn't think of that -- may be worthwhile to pursue. |
The one downside I see is that at least when using resolver v2 (the default), users would no longer be able to enable additional features of |
Maybe there's some nuance in the v2 resolver that I'm not aware of, but based on rereading the section of the book it sounds like dev-dependencies' features are still unified if the dev-dependencies are used, so a parallel dev-dependency with added features should still work. Or, maybe I'm misinterpreting what you meant would be a problem? But, reguarless a |
Ah indeed; just tried it out, it would still work. Glad we discussed that ;) |
It would be nice to reopen this issue |
I get the error:
Which goes away when I add env_logger to my dev-dependencies. I think it probably should be a dependency, not a dev-dependency for this crate.
The text was updated successfully, but these errors were encountered: