store 0.7.3 → 0.7.4
raw patch · 3 files changed
+10/−2 lines, 3 files
Files
- ChangeLog.md +6/−0
- src/Data/Store/Internal.hs +2/−0
- store.cabal +2/−2
ChangeLog.md view
@@ -1,5 +1,11 @@ # ChangeLog +## 0.7.4++* Fix for compilation with `ghc-8.10` in `0.7.3` did not use enough+ CPP, and so broke builds for older versions. This release fixes+ that.+ ## 0.7.3 * Fixes compilation with `ghc-8.10`, particularly
src/Data/Store/Internal.hs view
@@ -399,6 +399,7 @@ fp <- peekToPlainForeignPtr "Data.ByteString.ByteString" len return (BS.PS fp 0 len) +#if MIN_VERSION_template_haskell(2,16,0) -- | Template Haskell Bytes are nearly identical to ByteString, but it -- can't depend on ByteString. instance Store Bytes where@@ -412,6 +413,7 @@ len <- peek fp <- peekToPlainForeignPtr "Data.ByteString.ByteString" (fromIntegral len) return (Bytes fp 0 len)+#endif instance Store SBS.ShortByteString where size = VarSize $ \x ->
store.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: e4f0078547f11838248333341a491371c654d004c243fe8f6b750d9988225242+-- hash: b63dca2860ccf2f472bd33ec03365cee58303ec3d90dd34d9d62ecf1a7c3edcc name: store-version: 0.7.3+version: 0.7.4 synopsis: Fast binary serialization category: Serialization, Data homepage: https://github.com/fpco/store#readme