Repository navigation
v0.2.1
uuid v0.2.1 moves the library to Mojo 1.1.0.
Toolchain
- The Mojo pin is now
>=1.1.0,<2.0.0inpixi.tomlandrecipe.yaml. It was still>=1.0.0,<1.1.0, so the package could not be installed next to packages built for 1.1. - The build backend is a range (
pixi-build-rattler-build >=0.3.13) instead of an exact pin. mojodocis pinned tov0.1.1.
Mojo 1.1.0 changes
UUID.to_bytes()anduuid4_batch[N]()returnArray[UInt8, 16]andArray[UUID, N].InlineArrayis gone from the standard library. Code that only indexes or iterates the result keeps working; code that names the old type in a signature needsfrom std.collections import Array.String(capacity=...)becameString(capacity_bytes=...)insideto_hexand the tests.uuid7()callsgettimeofdaywithPointer(to=...)instead of the deprecatedUnsafePointer(to=...).- The benchmark uses the closure form of
Bench.bench_function.
The 72 tests, the benchmark and the example build without warnings on Mojo 1.1.0.
Full Changelog: v0.2.0...v0.2.1