hyperuuid 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +274 -105
- data/lib/hyperuuid/errors.rb +12 -0
- data/lib/hyperuuid/native/linux-arm64/libhyperuuid.so +0 -0
- data/lib/hyperuuid/native/linux-musl-arm64/libhyperuuid.so +0 -0
- data/lib/hyperuuid/native/linux-musl-x64/libhyperuuid.so +0 -0
- data/lib/hyperuuid/native/linux-x64/libhyperuuid.so +0 -0
- data/lib/hyperuuid/native/osx-arm64/libhyperuuid.dylib +0 -0
- data/lib/hyperuuid/native/osx-x64/libhyperuuid.dylib +0 -0
- data/lib/hyperuuid/native/wasm32-wasip1/hyperuuid.wasm +0 -0
- data/lib/hyperuuid/native/win-arm64/hyperuuid.dll +0 -0
- data/lib/hyperuuid/native/win-x64/hyperuuid.dll +0 -0
- data/lib/hyperuuid/native_platform.rb +13 -7
- data/lib/hyperuuid/runtime.rb +64 -24
- data/lib/hyperuuid/uuid.rb +32 -13
- data/lib/hyperuuid/wasm_runtime.rb +33 -15
- data/lib/hyperuuid.rb +136 -35
- metadata +17 -23
- data/lib/hyperuuid/native/README.md +0 -9
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hyperuuid
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brian Buvinghausen
|
|
@@ -23,20 +23,6 @@ dependencies:
|
|
|
23
23
|
- - ">="
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
25
|
version: '0'
|
|
26
|
-
- !ruby/object:Gem::Dependency
|
|
27
|
-
name: benchmark-ips
|
|
28
|
-
requirement: !ruby/object:Gem::Requirement
|
|
29
|
-
requirements:
|
|
30
|
-
- - "~>"
|
|
31
|
-
- !ruby/object:Gem::Version
|
|
32
|
-
version: '2.15'
|
|
33
|
-
type: :development
|
|
34
|
-
prerelease: false
|
|
35
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
36
|
-
requirements:
|
|
37
|
-
- - "~>"
|
|
38
|
-
- !ruby/object:Gem::Version
|
|
39
|
-
version: '2.15'
|
|
40
26
|
- !ruby/object:Gem::Dependency
|
|
41
27
|
name: rake
|
|
42
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -66,9 +52,12 @@ dependencies:
|
|
|
66
52
|
- !ruby/object:Gem::Version
|
|
67
53
|
version: '0.9'
|
|
68
54
|
description: |
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
55
|
+
RFC 9562 UUID v4 (random), v5 (deterministic), v6 and v7 (time-sortable) generation, with
|
|
56
|
+
batch and raw-bytes forms, from one native Rust core. Three backends behind one surface,
|
|
57
|
+
selected automatically and all shipped prebuilt: a Magnus extension where a precompiled
|
|
58
|
+
platform gem matches, stdlib Fiddle everywhere else, and the same core as a WebAssembly
|
|
59
|
+
module for anyone who installs the wasmtime gem. No runtime bridge, no dependencies
|
|
60
|
+
beyond Fiddle.
|
|
72
61
|
executables: []
|
|
73
62
|
extensions: []
|
|
74
63
|
extra_rdoc_files: []
|
|
@@ -76,9 +65,11 @@ files:
|
|
|
76
65
|
- LICENSE
|
|
77
66
|
- README.md
|
|
78
67
|
- lib/hyperuuid.rb
|
|
68
|
+
- lib/hyperuuid/errors.rb
|
|
79
69
|
- lib/hyperuuid/namespaces.rb
|
|
80
|
-
- lib/hyperuuid/native/README.md
|
|
81
70
|
- lib/hyperuuid/native/linux-arm64/libhyperuuid.so
|
|
71
|
+
- lib/hyperuuid/native/linux-musl-arm64/libhyperuuid.so
|
|
72
|
+
- lib/hyperuuid/native/linux-musl-x64/libhyperuuid.so
|
|
82
73
|
- lib/hyperuuid/native/linux-x64/libhyperuuid.so
|
|
83
74
|
- lib/hyperuuid/native/osx-arm64/libhyperuuid.dylib
|
|
84
75
|
- lib/hyperuuid/native/osx-x64/libhyperuuid.dylib
|
|
@@ -94,6 +85,10 @@ licenses:
|
|
|
94
85
|
- MIT
|
|
95
86
|
metadata:
|
|
96
87
|
source_code_uri: https://github.com/SkunkWerkx/HyperUuid
|
|
88
|
+
changelog_uri: https://github.com/SkunkWerkx/HyperUuid/blob/master/CHANGELOG.md
|
|
89
|
+
bug_tracker_uri: https://github.com/SkunkWerkx/HyperUuid/issues
|
|
90
|
+
documentation_uri: https://github.com/SkunkWerkx/HyperUuid/tree/master/ruby#readme
|
|
91
|
+
rubygems_mfa_required: 'true'
|
|
97
92
|
rdoc_options: []
|
|
98
93
|
require_paths:
|
|
99
94
|
- lib
|
|
@@ -101,15 +96,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
101
96
|
requirements:
|
|
102
97
|
- - ">="
|
|
103
98
|
- !ruby/object:Gem::Version
|
|
104
|
-
version: '3.
|
|
99
|
+
version: '3.3'
|
|
105
100
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
106
101
|
requirements:
|
|
107
102
|
- - ">="
|
|
108
103
|
- !ruby/object:Gem::Version
|
|
109
104
|
version: '0'
|
|
110
105
|
requirements: []
|
|
111
|
-
rubygems_version: 4.0.
|
|
106
|
+
rubygems_version: 4.0.20
|
|
112
107
|
specification_version: 4
|
|
113
|
-
summary: RFC 9562 UUID v4/v5/v6/v7 generation
|
|
114
|
-
no runtime bridge.
|
|
108
|
+
summary: RFC 9562 UUID v4/v5/v6/v7 generation over a native Rust core, shipped prebuilt
|
|
115
109
|
test_files: []
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
# native/
|
|
2
|
-
|
|
3
|
-
Populated per-RID with the platform's native `libhyperuuid` build (`native/{rid}/{lib}`) by CI
|
|
4
|
-
and by `cargo build --release` for local dev — see `../../../.gitignore` — plus
|
|
5
|
-
`wasm32-wasip1/hyperuuid.wasm`, the same core as a WebAssembly module for the `wasmtime`
|
|
6
|
-
backend (`../wasm_runtime.rb`), staged the same way from
|
|
7
|
-
`cargo build --release --target wasm32-wasip1` run inside `rust/`. This file exists so
|
|
8
|
-
the directory has at least one tracked file on a fresh checkout, matching the Go/Swift
|
|
9
|
-
bindings' `native/`/`NativeLibs/` placeholder convention.
|