packages feed

uuid-bytes 0.1.0.0 → 0.1.0.1

raw patch · 2 files changed

+11/−2 lines, 2 filesdep ~base

Dependency ranges changed: base

Files

test/Main.hs view
@@ -20,10 +20,19 @@       decodeHyphenated uuidBytes @?= Just uuidW128   , testCase "UUID encoding/decoding idempotence test" $       decodeHyphenated (fromByteArray $ encodeHyphenated uuidW128) @?= Just uuidW128+  , testCase "UUIDUH encoding test" $+      fromByteArray (encodeUnhyphenated uuidW128) @?= uuidBytesUH+  , testCase "UUIDUH decoding test" $+      decodeUnhyphenated uuidBytesUH @?= Just uuidW128+  , testCase "UUIDUH encoding/decoding idempotence test" $+      decodeUnhyphenated (fromByteArray $ encodeUnhyphenated uuidW128) @?= Just uuidW128   ]  uuidBytes :: Bytes uuidBytes = fromAsciiString "123e4567-e89b-12d3-a456-426655440000"++uuidBytesUH :: Bytes+uuidBytesUH = fromAsciiString "123e4567e89b12d3a456426655440000"  uuidW128 :: Word128 uuidW128 = 24249434048109030647017182302883282944
uuid-bytes.cabal view
@@ -1,6 +1,6 @@ cabal-version: >=1.10 name: uuid-bytes-version: 0.1.0.0+version: 0.1.0.1 synopsis: UUID parsing using byteverse packages description: This packages provides `bytesmith` parsers and `byteslice` encoders for 128bit UUIDs in hexadecimal format. -- bug-reports:@@ -24,7 +24,7 @@   exposed-modules:     UUID   build-depends: -      base >=4.13 && <4.14+      base >=4.12 && <4.14     , wide-word     , byteslice >=0.2.1 && <0.3     , bytesmith >=0.3.4 && <0.4