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

Option to install just formatter without any other features #694

Closed
eirnym opened this issue Nov 2, 2024 · 0 comments · Fixed by #697
Closed

Option to install just formatter without any other features #694

eirnym opened this issue Nov 2, 2024 · 0 comments · Fixed by #697

Comments

@eirnym
Copy link

eirnym commented Nov 2, 2024

Currently if I install taplo-cli without any default options many additional crates such as http are downloaded. I'd like to have a very small, clean binary which does only formatting without anything else.

Option to create my own binary is fine as well mostly as a last resort, as I prefer to have an official one.

panekj added a commit that referenced this issue Nov 3, 2024
- make `lint` subcommand a feature-gated, enabled
  by default; only available to build, it will not
  be distributed by default, if it introduces a
  regression, it will be reverted; closes #694

- remove `atty` dependency, use `IsTerminal` from
  stdlib (available since rust 1.70)

- clean-up code a bit, make `lsp` subcommand fail
  properly as no subcommand found since the errors
  are swallowed somewhere before reaching stderr

- remove references to `reqwest::Url`, use
  `url::Url` exclusively
panekj added a commit that referenced this issue Nov 4, 2024
- make `lint` subcommand a feature-gated, enabled
  by default; only available to build, it will not
  be distributed by default, if it introduces a
  regression, it will be reverted; closes #694

- clean-up code a bit, make `lsp` subcommand fail
  properly as no subcommand found since the errors
  are swallowed somewhere before reaching stderr

- remove references to `reqwest::Url`, use
  `url::Url` exclusively
panekj added a commit that referenced this issue Nov 4, 2024
- make `lint` subcommand a feature-gated, enabled
  by default; only available to build, it will not
  be distributed by default, if it introduces a
  regression, it will be reverted; closes #694

- clean-up code a bit, make `lsp` subcommand fail
  properly as no subcommand found since the errors
  are swallowed somewhere before reaching stderr

- remove references to `reqwest::Url`, use
  `url::Url` exclusively
@panekj panekj closed this as completed in 9acabdf Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants