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

Feature request: make console an optional dependency #102

Closed
matklad opened this issue Feb 26, 2020 · 1 comment
Closed

Feature request: make console an optional dependency #102

matklad opened this issue Feb 26, 2020 · 1 comment

Comments

@matklad
Copy link
Contributor

matklad commented Feb 26, 2020

At the moment insta library uses console as a dependency, which pulls in a number of other deps, including heavy ones like regex. My understanding is that this is not the core functionality: monochrome diffs are workable, and you always can use insta binary to get extra colors. So, for users which want to minimize dependencies, it would be beneficial if console could be disabled.

@mitsuhiko
Copy link
Owner

I rather cut down on the dependencies of console. Regex in particular could be made optional if certain features are removed.

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

2 participants