Giter Site home page Giter Site logo

martinthenth / uuidv7 Goto Github PK

View Code? Open in Web Editor NEW
54.0 2.0 2.0 776 KB

A UUID v7 implementation and Ecto.Type for Elixir - based on Rust

Home Page: https://hexdocs.pm/uuidv7

License: MIT License

Elixir 98.27% Rust 1.73%
ecto ecto-types elixir rust uuid uuid-v7 uuidv7 nif

uuidv7's Introduction

Martin Nijboer

Hey there! I'm a backend engineer from the Netherlands specialized in Elixir, Golang, and TypeScript. I maintain two open-source libraries in Elixir called goal and uuidv7. My most recent project is a GraphQL documentation website generator written in TypeScript and Golang called graphql-docs.

๐Ÿ‘จโ€๐Ÿ’ป Now

  • I'm a backend engineer at Fresha.
  • I'm a specialist in Elixir and Golang backends, and TypeScript frontends.
  • I've worked with systems that process millions of bookings per month.
  • I've worked with Elixir for 7 years.

uuidv7's People

Contributors

dependabot[bot] avatar martinthenth avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

uuidv7's Issues

Different ways of representing UUIDs

Thanks for the project, I was wondering if you'd consider adding different formats of representation for the UUIDs (similar to uniq with format: :slug)? I have hacked around it myself but would prefer if it was natively supported on the Ecto type itself.

precompiled NIF is not available: Compilation fails on M2

First of all thanks for the project. Unfortunately I'm having an issue running my app within an Alpine image on an M2 Mac

== Compilation error in file lib/uuidv7.ex ==
** (RuntimeError) precompiled NIF is not available for this target: "aarch64-unknown-linux-musl".
The available targets are:

  • aarch64-unknown-linux-gnu
  • aarch64-apple-darwin
  • riscv64gc-unknown-linux-gnu
  • x86_64-apple-darwin
  • x86_64-unknown-linux-gnu
  • x86_64-unknown-linux-musl
    lib/uuidv7.ex:90: (module)
    could not compile dependency :uuidv7, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile uuidv7 --force", update it with "mix deps.update uuidv7" or clean it with "mix deps.clean uuidv7"

Initial release

To do:

  1. Precompile create โœ…
  2. Add usage instructions in README.md โœ…
  3. Copy README.md to UUIDv7 module โœ…

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.