Improved UUIDs for Scala 3.
Find a file
Pat Garrity bf16bbfe47
All checks were successful
/ Build and Release Library (push) Successful in 1m19s
(patch) Update documentation, force release. (#10)
Reviewed-on: #10
2024-04-27 01:25:31 +00:00
.forgejo/workflows Fix builds by disabling coverage. (#9) 2024-04-26 03:26:27 +00:00
project (patch) Scala Version, docs, builds (#8) 2024-04-15 02:15:40 +00:00
src Add automated builds (#2) 2024-03-20 03:06:10 +00:00
.gitignore Added release build support with an updated SemVer plugin. (#3) 2024-03-21 02:57:21 +00:00
.pre-commit-config.yaml Add automated builds (#2) 2024-03-20 03:06:10 +00:00
.scalafmt.conf Initializing the gs-uuid project with a tested implementation. 2023-12-20 22:07:25 -06:00
build.sbt (patch) Scala Version, docs, builds (#8) 2024-04-15 02:15:40 +00:00
LICENSE Initializing the gs-uuid project with a tested implementation. 2023-12-20 22:07:25 -06:00
README.md (patch) Update documentation, force release. (#10) 2024-04-27 01:25:31 +00:00

gs-uuid

GS Open Source | License (MIT)

UUID's for Scala 3 with generation based on JUG, and serialization based on code from Jackson Databind. The only dependency is JUG, whereas the relevant Jackson code is copied to this implementation (and slightly modified).

Usage

Dependency

This artifact is available in the Garrity Software Maven repository.

externalResolvers +=
  "Garrity Software Releases" at "https://maven.garrity.co/releases"

val GsUuid: ModuleID =
  "gs" %% "gs-uuid-v0" % "$VERSION"

Type

import gs.uuid.v0.UUID

given UUID.Generator = UUID.Generator.version7

val id = UUID.generate()

println(id.str()) // 292c9bc70d0f4d998053d7b2f72cd9b7

Donate

Enjoy this project or want to help me achieve my goals? Consider Donating to Pat on Ko-fi.