packages feed

base32 0.2.1.0 → 0.2.2.0

raw patch · 3 files changed

+18/−10 lines, 3 filesdep −ghc-byteorderdep ~basedep ~bytestringdep ~deepseqPVP ok

version bump matches the API change (PVP)

Dependencies removed: ghc-byteorder

Dependency ranges changed: base, bytestring, deepseq

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,5 +1,12 @@ # Revision history for base32 +## 0.2.2.0++* Add support for GHC 9.2.x+* Drop support for GHC <8.10+* Drop dependency on `ghc-byteorder`+* Bump bounds for `deepseq`+ ## 0.2.1.0  * Expose `Data.ByteString.Base32.Internal` API
base32.cabal view
@@ -1,6 +1,6 @@ cabal-version:      2.0 name:               base32-version:            0.2.1.0+version:            0.2.2.0 synopsis:           Fast RFC 4648-compliant Base32 encoding description:   RFC 4648-compliant Base32 encodings and decodings.@@ -12,7 +12,7 @@ license-file:       LICENSE author:             Emily Pillmore maintainer:         emilypi@cohomolo.gy-copyright:          (c) 2020 Emily Pillmore+copyright:          (c) 2020-2022 Emily Pillmore category:           Data build-type:         Simple extra-source-files:@@ -20,7 +20,7 @@   README.md  tested-with:-  GHC ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.5+  GHC ==8.10.7 || ==9.0.2 || ==9.2.2  source-repository head   type:     git@@ -51,10 +51,9 @@     Data.ByteString.Base32.Internal.Utils    build-depends:-      base           >=4.10     && <5-    , bytestring     ^>=0.10-    , deepseq        >=1.4.3.0  && <1.4.5.0-    , ghc-byteorder  ^>=4.11.0.0+      base           >=4.14     && <4.17+    , bytestring     >=0.10     && <0.12+    , deepseq        ^>=1.4     , text           ^>=1.2     , text-short     ^>=0.1 @@ -69,7 +68,7 @@   other-modules:    Internal   main-is:          Main.hs   build-depends:-      base               >=4.10 && <5+      base               >=4.14 && <4.17     , base32     , bytestring     , memory@@ -87,7 +86,7 @@   hs-source-dirs:   benchmarks   main-is:          Base32Bench.hs   build-depends:-      base               >=4.10 && <5+      base               >=4.14 && <4.17     , base32     , bytestring     , criterion
src/Data/ByteString/Base32/Internal/Utils.hs view
@@ -29,7 +29,9 @@ -- | Read 'Word8' index off alphabet addr -- aix :: Word8 -> Addr# -> Word8-aix (W8# i) alpha = W8# (indexWord8OffAddr# alpha (word2Int# i))+aix w8 alpha = W8# (indexWord8OffAddr# alpha i)+  where+    !(I# i) = fromIntegral w8 {-# INLINE aix #-}  w32 :: Word8 -> Word32