Skip to content

Upgrade uuid to v1.x #1094

Closed
Closed
@edgarogh

Description

@edgarogh

The uuid crate has been in stable v1 for 4 month (9 if you include the alpha versions). It would be great to update it as it causes quite a few incompatibilities with other crates. Of course there are cheap (possibly optimized to nothing) ways to convert between the old and new UUIDs, but having to convert explicitly causes unnecessary friction.

Also as said here, this version should be the "last" to require a breaking update :

With uuid 1.0 we'll try to stay on that version "forever". There won't be a 2.0 unless there's a very compelling need for it. That means you should feel safe depending on Uuid in the public API of your libraries if you want to.

Solution

Set uuid's version to 1.x in Cargo.toml. I don't know if the minor version would benefit from being specified too. The breaking changes are described here.

I can work on that if you're interested.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImprovement of existing features or bugfixk::integrationRelated to integration with third-party libraries or systemsobsoleteThis issue is not relevant anymore

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions