Skip to content

Consider alternatives for prettytable-rs #496

Description

@kylewillmon

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.

Activity

  1. added
    low priorityShould be handled as time permits
    taskTask or chore that is not a bug or enhancement
    on Jun 23, 2022
  2. cd-work commented on Jun 23, 2022

    @cd-work
    Contributor

    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.

  3. kylewillmon commented on Jan 3, 2023

    @kylewillmon
    ContributorAuthor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    low priorityShould be handled as time permitstaskTask or chore that is not a bug or enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions