streaming-utils 0.1.4.7 → 0.2.0.0
raw patch · 2 files changed
+17/−18 lines, 2 filesdep ~aesondep ~attoparsecdep ~basenew-uploader
Dependency ranges changed: aeson, attoparsec, base, bytestring, http-client, json-stream, resourcet, streaming, streaming-bytestring, streaming-commons, transformers
Files
- Data/ByteString/Streaming/HTTP.hs +3/−3
- streaming-utils.cabal +14/−15
Data/ByteString/Streaming/HTTP.hs view
@@ -1,4 +1,4 @@-{-#LANGUAGE OverloadedStrings #-}+{-# LANGUAGE OverloadedStrings #-} -- | This module replicates `pipes-http` as closely as will type-check, adding a -- conduit-like @http@ in @ResourceT@ and a primitive @simpleHTTP@ that emits -- a streaming bytestring rather than a lazy one. @@ -38,7 +38,7 @@ -- > import Data.ByteString.Streaming.HTTP -- > -- > main = do--- > req <- parseUrl "https://www.example.com"+-- > req <- parseUrlThrow "https://www.example.com" -- > m <- newManager tlsManagerSettings -- > runResourceT $ do -- > resp <- http request manager @@ -205,7 +205,7 @@ simpleHTTP :: MonadResource m => String -> ByteString m () simpleHTTP url = do man <- liftIO (newManager tlsManagerSettings)- req <- liftIO (parseRequest url)+ req <- liftIO (parseUrlThrow url) bracketByteString (responseOpen req man) responseClose
streaming-utils.cabal view
@@ -1,5 +1,5 @@ name: streaming-utils-version: 0.1.4.7+version: 0.2.0.0 synopsis: http, attoparsec, pipes and other utilities for the streaming libraries description: This package includes http-client, aeson, attoparsec, zlib and pipes utilities for use with@@ -39,16 +39,15 @@ license: BSD3 license-file: LICENSE author: michaelt-maintainer: what_is_it_to_do_anything@yahoo.com+maintainer: chessai1996@gmail.com -- copyright: -category: Data build-type: Simple+category: Data, Pipes, Streaming -- extra-source-files: cabal-version: >=1.10 stability: Experimental homepage: https://github.com/michaelt/streaming-utils bug-reports: https://github.com/michaelt/streaming-utils/issues-category: Data, Pipes, Streaming source-repository head type: git location: https://github.com/michaelt/streaming-utils@@ -64,22 +63,22 @@ -- other-modules: other-extensions: CPP, Trustworthy - build-depends: base >=4.7 && <5.0, - transformers >=0.4 && <0.5.3, + build-depends: base >=4.8 && <5.0, + transformers >=0.4 && <0.6, mtl >=2.2 && <2.3,- attoparsec > 0.13.0.0 && < 0.13.2.0,- streaming >= 0.1.4.0 && < 0.1.4.8,- streaming-bytestring >= 0.1.4.0 && < 0.1.4.8,- bytestring > 0.10.0 && < 0.11.0,+ attoparsec > 0.13.0.0 && < 0.14,+ streaming >= 0.2 && < 0.3,+ streaming-bytestring >= 0.1 && < 0.2,+ bytestring > 0.10 && < 0.11, pipes >= 4.0 && < 4.4, network-simple, network, - http-client >=0.2 && <0.6, + http-client >=0.2 && <0.7, http-client-tls,- aeson > 0.8 && <1.2,- json-stream > 0.4.0 && < 0.4.2,- resourcet > 1.0 && < 1.2,- streaming-commons > 0.1.0 && < 0.1.18+ aeson > 0.8 && <1.5,+ json-stream > 0.4 && < 0.5,+ resourcet > 1.0 && < 1.3,+ streaming-commons > 0.2 && < 0.3 -- hs-source-dirs: default-language: Haskell2010