streamly-lz4 0.1.1 → 0.1.2
raw patch · 4 files changed
+12/−8 lines, 4 filesdep ~streamlyPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: streamly
API changes (from Hackage documentation)
Files
- CHANGELOG.md +4/−0
- src/Streamly/Internal/LZ4.hs +3/−3
- src/Streamly/LZ4.hs +1/−1
- streamly-lz4.cabal +4/−4
CHANGELOG.md view
@@ -1,5 +1,9 @@ # Changelog +## 0.1.2 (Mar 2022)++* Support streamly-0.8.2+ ## 0.1.1 (Dec 2021) * Support streamly-0.8.1
src/Streamly/Internal/LZ4.hs view
@@ -230,7 +230,7 @@ -> Array.Array Word8 -> IO (Array.Array Word8) compressChunk cfg speed ctx arr = do- Array.unsafeAsPtr arr+ Array.asPtrUnsafe (Array.unsafeCast arr) $ \src -> do let uncompLen = Array.byteLength arr speedC = unsafeIntToCInt speed@@ -294,7 +294,7 @@ -> Array.Array Word8 -> IO (Array.Array Word8) decompressChunk cfg ctx arr = do- Array.unsafeAsPtr arr+ Array.asPtrUnsafe (Array.unsafeCast arr) $ \src -> do let hdrCompLen :: Ptr Int32 = src `plusPtr` compSizeOffset cfg compData = src `plusPtr` dataOffset cfg@@ -573,7 +573,7 @@ -> Stream.Stream m (Array.Array Word8) decompressChunksWithD p s = do ((cfg, config), next) <- Stream.fromEffect $ second IsStream.toStreamD- <$> ArrayStream.foldArr_ (ArrayFold.fromParser p) (IsStream.fromStreamD s)+ <$> ArrayStream.foldArr_ (ArrayFold.fromParserD p) (IsStream.fromStreamD s) decompressChunksRawD cfg (resizeChunksD cfg config next) -- XXX Merge this with BlockConfig?
src/Streamly/LZ4.hs view
@@ -32,7 +32,7 @@ -- Please build with -- [fusion-plugin](https://hackage.haskell.org/package/fusion-plugin) for best -- performance. See the [streamly build--- guide](https://streamly.composewell.com/streamly-0.8.0/Compiling.html) for+-- guide](https://streamly.composewell.com/streamly-0.8.2/Compiling.html) for -- more details. -- -- The APIs are not yet stable and may change in future.
streamly-lz4.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.2 name: streamly-lz4-version: 0.1.1+version: 0.1.2 synopsis: Streamly combinators for LZ4 compression description: Compress and decompress streams of data using LZ4 compression. See@@ -59,7 +59,7 @@ build-depends: base >= 4 && < 5 , fusion-plugin-types >= 0.1 && < 0.2 , exceptions >= 0.8 && < 0.11- , streamly >= 0.8.1 && < 0.8.2+ , streamly == 0.8.2.* ghc-options: -Wall default-language: Haskell2010 default-extensions:@@ -77,7 +77,7 @@ hs-source-dirs: test main-is: Main.hs build-depends: streamly-lz4- , streamly >= 0.8.1 && < 0.8.2+ , streamly == 0.8.2.* , base >= 4 && < 5 , QuickCheck >= 2.13.1 && < 2.15 , hspec >= 2.7 && < 2.9@@ -92,7 +92,7 @@ hs-source-dirs: benchmark main-is: Main.hs build-depends: streamly-lz4- , streamly >= 0.8.1 && < 0.8.2+ , streamly == 0.8.2.* , base >= 4 && < 5 , gauge >= 0.2.5 && < 0.2.6 , directory >= 1.3.0 && < 1.3.8