Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding features reporting to diesel_cli (#2724)
* --features Starting to add features flag * Added diesel_cli compiled features flag #2717 * clippy correction println!(""); ^^^^^^^^^^^^ help: replace it with: `println!()` * clippy keeping things nice and consistent using `!is_empty` is clearer and more explicit: `!features.is_empty()` and unnecessary boolean `not` operation * Improving based on pull request review * pull request review improvements more helpful improvements suggested by pksunkara * Applying CI Tests / Check rustfmt style https://github.com/diesel-rs/diesel/pull/2724/checks?check_run_id=2336929398 CI Tests / Check rustfmt style && run clippy (pull_request) seems to be demanding I apply inconsistent formatting, compared with all of the other SubCommands. * Clearer and more succinct wording Improved wording suggested by henryboisdequin * Suggested simplification #2724 (comment) * Address the final review commend + also include these information in the `--version` output * --features Starting to add features flag * Added diesel_cli compiled features flag #2717 * clippy correction println!(""); ^^^^^^^^^^^^ help: replace it with: `println!()` * clippy keeping things nice and consistent using `!is_empty` is clearer and more explicit: `!features.is_empty()` and unnecessary boolean `not` operation * Improving based on pull request review * pull request review improvements more helpful improvements suggested by pksunkara * Applying CI Tests / Check rustfmt style https://github.com/diesel-rs/diesel/pull/2724/checks?check_run_id=2336929398 CI Tests / Check rustfmt style && run clippy (pull_request) seems to be demanding I apply inconsistent formatting, compared with all of the other SubCommands. * Clearer and more succinct wording Improved wording suggested by henryboisdequin * Suggested simplification #2724 (comment) * Address the final review commend + also include these information in the `--version` output * Remove explicit feature subcommand It's not required if we just emit the relevant infos in `diesel --version` --------- Co-authored-by: Alexx Roche <notice-dev@alexx.net> Co-authored-by: Georg Semmler <github@weiznich.de>
- Loading branch information