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

Table-ized output formatting #9

Merged
merged 3 commits into from
Jun 24, 2018

Conversation

alexmaco
Copy link
Contributor

Since better output formatting was on the roadmap, i tried making the different kinds of unsafe counters more visible by default.

The idea is to have a (Functions Expressions Impls Traits Methods) table on the left, and the same radioactive symbol + tree structure + dependency name on the right.

Of couse, the table solution is not the most elegant, and should be factored out along with the tree generation. Similarly, the compact_output flag now passed thru multiple functions should probably be part of some output formatting control struct.

The old output format is kept under the '--compact' switch.

Let me know what you think and if anything should be reworked before it's pullable.
table_sample_output

@anderejd
Copy link
Contributor

Perfect, thank you!

@anderejd anderejd merged commit f41670a into geiger-rs:master Jun 24, 2018
@alexmaco alexmaco deleted the output_formatting branch January 22, 2019 10:39
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

Successfully merging this pull request may close these issues.

2 participants