Skip to content

Remove unmaintained difference dependency #12280

Closed

Description

@kubouch

Related problem

The difference crate in our dependencies is unmaintained. Since it's used only in a single place in plugin examples tests we should be able to remove it.

Describe the solution you'd like

Remove the difference crate from our dependencies.

Describe alternatives you've considered

We could replace it with some other crate, but simply comparing the results might be enough? Let's not add dependencies where we don't need them.

Additional context and details

@devyn It seems like it's been introduced in one of your plugin PRs.

Activity

  1. added
    category:enhancement
    status:needs-triage
    dependencies
    category:upstream
    and removed
    status:needs-triage
    category:enhancement
    dependencies
    on Mar 25, 2024
  2. devyn commented on Mar 25, 2024

    @devyn
    Contributor

    Hey @kubouch,

    I added this recently for the new plugin test crate. I wanted to be able to demonstrate a nice diff for people who are trying to debug their broken plugin examples. The values can sometimes be rather nested and the differences hard to spot.

    If there's another crate that works fine for this purpose, I think that's alright - I just picked one that seemed simple and fit the license requirement.

    We have pretty_assert::assert_eq! already, but there's no way to use that to generate differences that don't panic. I wanted something like that but so that I could report errors for each example.

  3. added a commit that references this issue on Mar 25, 2024
    a80a458
  4. added a commit that references this issue on Mar 26, 2024
    efe1c99
  5. added this to the v0.92.0 milestone on Mar 26, 2024
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

    category:upstream

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions