-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Make textwrap
an optional dependency
#1055
Comments
I'd be fine with this, if someone wants an easy PR. 👍 |
Sure thing, I'll make the PR for this one as well. |
Looks like we'll need to discuss this one a bit more. Here's the complete problem scenario:
|
The issue referred above has been resolved lightning fast. 👍 Once the next release of |
Textwrap 0.9.0 has been released with this change, have fun! :-) |
Thanks @mgeisler for being flexible and helping with this! |
Happy to help! I want my little crate to be useful in as many scenarios as possible. |
It would be nice to make the
textwrap
crate an optional dependency, so that those who don't care that much about the nice formatting wouldn't need to install the transitive closure of the dependencies oftextwrap
(most notably,libc
andwinapi
).This would also cut down on the quantity of
unsafe
used (again, transitively) by the dependent crates, should they choose to opt out of pretty help text wrapping.The text was updated successfully, but these errors were encountered: