Skip to content

Conversation

@KodrAus
Copy link
Member

@KodrAus KodrAus commented Nov 1, 2021

Closes #432

This adds a new_random constructor to Context that seeds it with a random initial value when the rng or fast-rng features are also available.

It also stashes the last timestamp we saw and only increments the counter if it matches.

@KodrAus KodrAus merged commit a94b12d into uuid-rs:main Nov 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ClockSequence Trait Approach

1 participant