Add a new trait, UuidV1ClockSequence which defines the interface for generating clock sequences. #137
No reviewers
Labels
No labels
breaking
bug
dependencies
good first issue
help wanted
unstable
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-uuid-rs/uuid!137
Loading…
Reference in a new issue
No description provided.
Delete branch "106-generic-context"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
secondsandnanosecondsarguments.This takes a more conservative approach. No changes to the way UuidV1Context generates sequences, but now other people can implement their own clock-sequence generators.
The nice thing is that I think this is entirely backwards compatible (which means that this didn't need to block 1.0).
This is meant to address #106. It does not implement all the suggestions that it had, but it allows users to, and also allows us to add more implementations with different clock-sequence strategies in a backwards-compatible way.
👍 from me
bors: r+