Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Bump thiserror to 2.0 #70

@grim7reaper

Description

@grim7reaper

I have a crate that use the geojson crate and this one.
geojson pulls thiserror 2.X and this one pulls 1.X resulting in the following warning:

error: multiple versions for dependency `thiserror`: 1.0.69, 2.0.12
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_crate_versions
note: the lint level is defined here
  --> src/lib.rs:21:5
   |
21 |     clippy::cargo,
   |     ^^^^^^^^^^^^^
   = note: `#[deny(clippy::multiple_crate_versions)]` implied by `#[deny(clippy::cargo)]`

While not critical, it would be nice to avoid pulling the same dep twice.
From a quick test, seems like the bump doesn't require any code change in the crate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions