zyro / elixir-uuid

UUID generator and utilities for Elixir
Apache License 2.0
358 stars 83 forks source link

V6 UUID #44

Open Adzz opened 4 years ago

Adzz commented 4 years ago

Thanks for the lib! Are there any plans to support a v6 UUID?

http://gh.peabody.io/uuidv6/ https://tools.ietf.org/html/draft-peabody-dispatch-new-uuid-format-00

I know it's an RFC right now, but just thought I'd ask.

ryanwinchester commented 4 years ago

Yeah, I'd love to be able to use UUID v6 right now.

PHP is using it already:

  1. https://github.com/ramsey/uuid/blob/b31703e7c9752260ddc773c95110294fa9abc5ff/src/Nonstandard/UuidV6.php
  2. https://github.com/symfony/symfony/blob/bb9d5223460c2f6cfdadd9981af827ec4ba9418d/src/Symfony/Component/Uid/UuidV6.php

And probably JS and Ruby.

How much work would this be to implement for somebody not familiar with UUID generation?

Adzz commented 4 years ago

Oh that's a good point, I might give this a go if I can find a decent ruby version to port.