remove unused code, mostly imports

This commit is contained in:
Karl Seguin
2025-05-05 13:23:28 +08:00
parent ca3fa3dc40
commit b8e5e130b9
32 changed files with 5 additions and 87 deletions

View File

@@ -88,16 +88,6 @@ pub fn uuidv4(hex: []u8) void {
}
}
const hex_to_nibble = [_]u8{0xff} ** 48 ++ [_]u8{
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
0x08, 0x09, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0xff,
} ++ [_]u8{0xff} ** 152;
const testing = std.testing;
test "id: Incrementing.next" {
var id = Incrementing(u16, "IDX"){};