bsb-http-chunked 0 → 0.0.0.1
raw patch · 5 files changed
+30/−40 lines, 5 filesdep −deepseqdep ~bytestringdep ~bytestring-builderdep ~textPVP ok
version bump matches the API change (PVP)
Dependencies removed: deepseq
Dependency ranges changed: bytestring, bytestring-builder, text
API changes (from Hackage documentation)
Files
- Blaze/ByteString/Builder/Char8.hs +0/−14
- Blaze/ByteString/Builder/Internal/Write.hs +0/−2
- CHANGELOG.md +18/−0
- Data/ByteString/Builder/HTTP/Chunked.hs +1/−12
- bsb-http-chunked.cabal +11/−12
Blaze/ByteString/Builder/Char8.hs view
@@ -26,16 +26,12 @@ , fromChar , fromString , fromShow- , fromText- , fromLazyText ) where import Blaze.ByteString.Builder.Compat.Write ( Write, writePrimFixed ) import Data.ByteString.Builder ( Builder ) import qualified Data.ByteString.Builder as B import qualified Data.ByteString.Builder.Prim as P-import qualified Data.Text as TS-import qualified Data.Text.Lazy as TL -- | Write the lower 8-bits of a character to a buffer. writeChar :: Char -> Write@@ -57,13 +53,3 @@ fromShow :: Show a => a -> Builder fromShow = fromString . show {-# INLINE fromShow #-}---- | /O(n)/. Serialize the lower 8-bits of all characters in the strict text.-fromText :: TS.Text -> Builder-fromText = fromString . TS.unpack-{-# INLINE fromText #-}---- | /O(n)/. Serialize the lower 8-bits of all characters in the lazy text.-fromLazyText :: TL.Text -> Builder-fromLazyText = fromString . TL.unpack-{-# INLINE fromLazyText #-}
Blaze/ByteString/Builder/Internal/Write.hs view
@@ -58,8 +58,6 @@ import Data.Semigroup #endif -import Prelude -- Silence redundant import warnings- ------------------------------------------------------------------------------ -- Poking a buffer and writing to a buffer ------------------------------------------------------------------------------
+ CHANGELOG.md view
@@ -0,0 +1,18 @@+# Changelog for the `bsb-http-chunked` package++## [0.0.0.1] – 2018-03-13++- Documentation improvements+- `text` and `deepseq` dependencies were removed++## 0 – 2018-03-12++Initial release.++---++The format of this changelog is based on+[Keep a Changelog](http://keepachangelog.com/en/1.0.0/)++[Unreleased]: https://github.com/sjakobi/bsb-http-chunked/compare/v0.0.0.1...HEAD+[0.0.0.1]: https://github.com/sjakobi/bsb-http-chunked/compare/v0...v0.0.0.1
Data/ByteString/Builder/HTTP/Chunked.hs view
@@ -1,18 +1,7 @@ {-# LANGUAGE BangPatterns, CPP, MagicHash, OverloadedStrings #-}---------------------------------------------------------------------------------- |--- Module: Blaze.ByteString.Builder.HTTP--- Copyright: (c) 2013 Simon Meier--- License: BSD3--- Maintainer: Leon P Smith <leon@melding-monads.com>--- Stability: experimental------ Support for HTTP response encoding.----------------------------------------------------------------------------------+-- | Chunked HTTP transfer encoding module Data.ByteString.Builder.HTTP.Chunked (- -- * Chunked HTTP transfer encoding chunkedTransferEncoding , chunkedTransferTerminator ) where
bsb-http-chunked.cabal view
@@ -1,9 +1,13 @@ Name: bsb-http-chunked-Version: 0+Version: 0.0.0.1 Synopsis: Chunked HTTP transfer encoding for bytestring builders -Description: This library is a new home for the- Blaze.ByteString.Builder.HTTP module from the blaze-builder+Description: This library contains functions for encoding [bytestring+ builders](http://hackage.haskell.org/package/bytestring/docs/Data-ByteString-Builder.html#t:Builder)+ for [chunked HTTP\/1.1 transfer](https://en.wikipedia.org/wiki/Chunked_transfer_encoding).+ .+ This functionality was extracted from+ the [blaze-builder](http://hackage.haskell.org/package/blaze-builder) package. Author: Jasper Van der Jeugt, Simon Meier, Leon P Smith@@ -23,7 +27,8 @@ Build-type: Simple Cabal-version: >= 1.8 -Extra-source-files: tests/*.hs+Extra-source-files: CHANGELOG.md,+ tests/*.hs Source-repository head Type: git@@ -43,14 +48,8 @@ Blaze.ByteString.Builder.Word build-depends: base >= 4.3 && < 4.12,- deepseq,- text >= 0.10 && < 1.3-- if impl(ghc < 7.8)- build-depends: bytestring >= 0.9 && < 0.11,- bytestring-builder- else- build-depends: bytestring >= 0.10.4 && < 0.11+ bytestring >= 0.9 && < 0.11,+ bytestring-builder < 0.11 test-suite test -- Turn off until the package is cleaned up