├── .github ├── PULL_REQUEST_TEMPLATE.md ├── semantic.yml └── workflows │ ├── build.yml │ └── publish.yml ├── .gitignore ├── .tool-versions ├── CHANGELOG.md ├── LICENSE ├── README.md ├── benchmark ├── README.md ├── build.gradle.kts └── src │ ├── commonMain │ └── kotlin │ │ └── ulid │ │ └── benchmark │ │ ├── ULIDAverage.kt │ │ ├── ULIDThroughput.kt │ │ └── UUID.kt │ ├── jsMain │ └── kotlin │ │ └── ulid │ │ └── benchmark │ │ └── Crypto.kt │ ├── jvmMain │ └── kotlin │ │ └── ulid │ │ └── benchmark │ │ └── JavaUUID.kt │ └── macosArm64Main │ └── kotlin │ └── ulid │ └── benchmark │ └── NSUUID.kt ├── gradle.properties ├── gradle ├── libs.versions.toml └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── renovate.json ├── settings.gradle.kts └── ulid ├── api └── ulid.klib.api ├── build.gradle.kts ├── gradle.properties └── src ├── commonMain └── kotlin │ └── ulid │ ├── ULID.kt │ └── internal │ ├── Constants.kt │ ├── Crockford.kt │ ├── Serializable.kt │ ├── Serializers.kt │ ├── Time.kt │ ├── ULIDFactory.kt │ ├── ULIDMonotonic.kt │ └── ULIDValue.kt ├── commonTest └── kotlin │ └── ulid │ ├── TestULID.kt │ ├── TestULIDFactory.kt │ ├── TestULIDMonotonic.kt │ ├── internal │ └── TestCrockford.kt │ └── utils │ ├── Constants.kt │ └── Random.kt ├── jsMain └── kotlin │ └── ulid │ └── internal │ └── Serializable.kt ├── jvmMain └── kotlin │ └── ulid │ └── internal │ └── Serializable.kt ├── jvmTest └── kotlin │ └── ulid │ └── TestSerialization.kt ├── nativeMain └── kotlin │ └── ulid │ └── internal │ └── Serializable.kt └── wasmJsMain └── kotlin └── ulid └── internal └── Serializable.kt /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/semantic.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/.github/semantic.yml -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/.gitignore -------------------------------------------------------------------------------- /.tool-versions: -------------------------------------------------------------------------------- 1 | java temurin-11.0.22+7 2 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/README.md -------------------------------------------------------------------------------- /benchmark/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/benchmark/README.md -------------------------------------------------------------------------------- /benchmark/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/benchmark/build.gradle.kts -------------------------------------------------------------------------------- /benchmark/src/commonMain/kotlin/ulid/benchmark/ULIDAverage.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/benchmark/src/commonMain/kotlin/ulid/benchmark/ULIDAverage.kt -------------------------------------------------------------------------------- /benchmark/src/commonMain/kotlin/ulid/benchmark/ULIDThroughput.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/benchmark/src/commonMain/kotlin/ulid/benchmark/ULIDThroughput.kt -------------------------------------------------------------------------------- /benchmark/src/commonMain/kotlin/ulid/benchmark/UUID.kt: -------------------------------------------------------------------------------- 1 | package ulid.benchmark 2 | 3 | expect fun randomUUID(): String 4 | -------------------------------------------------------------------------------- /benchmark/src/jsMain/kotlin/ulid/benchmark/Crypto.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/benchmark/src/jsMain/kotlin/ulid/benchmark/Crypto.kt -------------------------------------------------------------------------------- /benchmark/src/jvmMain/kotlin/ulid/benchmark/JavaUUID.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/benchmark/src/jvmMain/kotlin/ulid/benchmark/JavaUUID.kt -------------------------------------------------------------------------------- /benchmark/src/macosArm64Main/kotlin/ulid/benchmark/NSUUID.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/benchmark/src/macosArm64Main/kotlin/ulid/benchmark/NSUUID.kt -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/gradle.properties -------------------------------------------------------------------------------- /gradle/libs.versions.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/gradle/libs.versions.toml -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/gradlew -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/renovate.json -------------------------------------------------------------------------------- /settings.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/settings.gradle.kts -------------------------------------------------------------------------------- /ulid/api/ulid.klib.api: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/ulid/api/ulid.klib.api -------------------------------------------------------------------------------- /ulid/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/ulid/build.gradle.kts -------------------------------------------------------------------------------- /ulid/gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/ulid/gradle.properties -------------------------------------------------------------------------------- /ulid/src/commonMain/kotlin/ulid/ULID.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/ulid/src/commonMain/kotlin/ulid/ULID.kt -------------------------------------------------------------------------------- /ulid/src/commonMain/kotlin/ulid/internal/Constants.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/ulid/src/commonMain/kotlin/ulid/internal/Constants.kt -------------------------------------------------------------------------------- /ulid/src/commonMain/kotlin/ulid/internal/Crockford.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/ulid/src/commonMain/kotlin/ulid/internal/Crockford.kt -------------------------------------------------------------------------------- /ulid/src/commonMain/kotlin/ulid/internal/Serializable.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/ulid/src/commonMain/kotlin/ulid/internal/Serializable.kt -------------------------------------------------------------------------------- /ulid/src/commonMain/kotlin/ulid/internal/Serializers.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/ulid/src/commonMain/kotlin/ulid/internal/Serializers.kt -------------------------------------------------------------------------------- /ulid/src/commonMain/kotlin/ulid/internal/Time.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/ulid/src/commonMain/kotlin/ulid/internal/Time.kt -------------------------------------------------------------------------------- /ulid/src/commonMain/kotlin/ulid/internal/ULIDFactory.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/ulid/src/commonMain/kotlin/ulid/internal/ULIDFactory.kt -------------------------------------------------------------------------------- /ulid/src/commonMain/kotlin/ulid/internal/ULIDMonotonic.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/ulid/src/commonMain/kotlin/ulid/internal/ULIDMonotonic.kt -------------------------------------------------------------------------------- /ulid/src/commonMain/kotlin/ulid/internal/ULIDValue.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/ulid/src/commonMain/kotlin/ulid/internal/ULIDValue.kt -------------------------------------------------------------------------------- /ulid/src/commonTest/kotlin/ulid/TestULID.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/ulid/src/commonTest/kotlin/ulid/TestULID.kt -------------------------------------------------------------------------------- /ulid/src/commonTest/kotlin/ulid/TestULIDFactory.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/ulid/src/commonTest/kotlin/ulid/TestULIDFactory.kt -------------------------------------------------------------------------------- /ulid/src/commonTest/kotlin/ulid/TestULIDMonotonic.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/ulid/src/commonTest/kotlin/ulid/TestULIDMonotonic.kt -------------------------------------------------------------------------------- /ulid/src/commonTest/kotlin/ulid/internal/TestCrockford.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/ulid/src/commonTest/kotlin/ulid/internal/TestCrockford.kt -------------------------------------------------------------------------------- /ulid/src/commonTest/kotlin/ulid/utils/Constants.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/ulid/src/commonTest/kotlin/ulid/utils/Constants.kt -------------------------------------------------------------------------------- /ulid/src/commonTest/kotlin/ulid/utils/Random.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/ulid/src/commonTest/kotlin/ulid/utils/Random.kt -------------------------------------------------------------------------------- /ulid/src/jsMain/kotlin/ulid/internal/Serializable.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/ulid/src/jsMain/kotlin/ulid/internal/Serializable.kt -------------------------------------------------------------------------------- /ulid/src/jvmMain/kotlin/ulid/internal/Serializable.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/ulid/src/jvmMain/kotlin/ulid/internal/Serializable.kt -------------------------------------------------------------------------------- /ulid/src/jvmTest/kotlin/ulid/TestSerialization.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/ulid/src/jvmTest/kotlin/ulid/TestSerialization.kt -------------------------------------------------------------------------------- /ulid/src/nativeMain/kotlin/ulid/internal/Serializable.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/ulid/src/nativeMain/kotlin/ulid/internal/Serializable.kt -------------------------------------------------------------------------------- /ulid/src/wasmJsMain/kotlin/ulid/internal/Serializable.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aallam/ulid-kotlin/HEAD/ulid/src/wasmJsMain/kotlin/ulid/internal/Serializable.kt --------------------------------------------------------------------------------