Mohammad Dashti
de8df29ca4
Added clippy to CI and fixed all clippy warnings ( #613 )
...
* Fixed all clippy warnings.
* Added `clippy` to CI.
* Reverted an unwanted change + Applied `cargo fmt`.
* Fixed the idiom version.
* Revert "Fixed the idiom version."
This reverts commit 6f78be0d42 .
* Fixed clippy issues on CI.
* Revert "Fixed clippy issues on CI."
This reverts commit a9fa6ba189 .
* Revert "Reverted an unwanted change + Applied `cargo fmt`."
This reverts commit 6bd37b6479 .
* Revert "Fixed all clippy warnings."
This reverts commit d1f3b847e3 .
* Removed Clippy
* Removed Lint
* `admin.rs` clippy fixes.
* Applied more clippy changes.
* Even more clippy changes.
* `client.rs` clippy fixes.
* `server.rs` clippy fixes.
* Revert "Removed Lint"
This reverts commit cb5042b144 .
* Revert "Removed Clippy"
This reverts commit 6dec8bffb1 .
* Applied lint.
* Revert "Revert "Fixed clippy issues on CI.""
This reverts commit 49164a733c .
2023-10-10 09:18:21 -07:00
Sebastian Webber
19cb8a3022
add --no-color option to disable colors in the terminal ( #518 )
...
add --no-color option to disable colors
this commit adds a new option to disable colors in the terminal and also
moves the logger configuration to a different crate.
Signed-off-by: Sebastian Webber <sebastian@swebber.me >
2023-07-19 21:15:55 -07:00
Sebastian Webber
f85e5bd9e8
add support for multiple log formats ( #517 )
...
this commit adds the tracing-subscriber crate and use its formatters to
support multiple log formats.
More details in
https://github.com/postgresml/pgcat/issues/464#issuecomment-1641430299
Signed-off-by: Sebastian Webber <sebastian@swebber.me >
2023-07-18 23:07:13 -07:00
Sebastian Webber
7bdb4e5cd9
Add cmd line parser ( #512 )
...
This commit adds the clap library and configures the necessary args to
parse from the command line, expanding the current option of a single
file and adding support for environment variables.
Signed-off-by: Sebastian Webber <sebastian@swebber.me >
2023-07-18 13:52:40 -07:00