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

Consider alternatives for prettytable-rs #496

Open
kylewillmon opened this issue Jun 23, 2022 · 2 comments
Open

Consider alternatives for prettytable-rs #496

kylewillmon opened this issue Jun 23, 2022 · 2 comments
Labels
low priority Should be handled as time permits task Task or chore that is not a bug or enhancement

Comments

@kylewillmon
Copy link
Contributor

The prettytable-rs crate has not received any updates in nearly 4 years now and appears to be abandoned. It still works and doesn't seem to have any major issues, but it is already causing us to have some duplicate dependencies (such as the itoa crate) and will cause more over time.

With a quick look around, I found comfy-table as a possible alternative, but there may be other options.

@kylewillmon kylewillmon added low priority Should be handled as time permits task Task or chore that is not a bug or enhancement labels Jun 23, 2022
@cd-work
Copy link
Contributor

cd-work commented Jun 23, 2022

Our table formatting code also isn't exactly complicated. I'd imagine we could probably roll our own relying mostly on unicode-width as the only necessary dependency.

@kylewillmon
Copy link
Contributor Author

It looks like prettytable-rs has found some maintenance help from the Rust team. The same developer approved the rustsec advisory and released a new version of the crate.

That is definitely encouraging. But it's still probably worth rolling our own solution instead of relying on a dependency here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
low priority Should be handled as time permits task Task or chore that is not a bug or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants