packages feed

sockets-and-pipes-1.0.0.0: sockets-and-pipes.cabal

cabal-version: 3.0

name: sockets-and-pipes
version: 1.0.0.0

synopsis: Support for the Sockets and Pipes book
category: HTTP, Network, Streaming, Text

license: Apache-2.0
license-file: license.txt

author: Chris Martin, Julie Moronuki
maintainer: Type Classes <hello@typeclasses.com>

description:
    This package re-exports from all the libraries mentioned in
    /Sockets and Pipes/ (available on <https://leanpub.com/sockets-and-pipes Leanpub>).

    Version 1.* is for the first edition of the book, released May 2023.

library
    default-language: GHC2021

    build-depends: ascii ^>= 1.7
    reexported-modules:
      , ASCII
      , ASCII.Char
      , ASCII.Decimal

    build-depends: aeson ^>= 2.1
    reexported-modules:
      , Data.Aeson
      , Data.Aeson.Key
      , Data.Aeson.KeyMap

    build-depends: async ^>= 2.2.4
    reexported-modules:
      , Control.Concurrent.Async

    build-depends: attoparsec ^>= 0.14.4
    reexported-modules:
      , Data.Attoparsec.ByteString

    build-depends: attoparsec-run ^>= 0.0.2
    reexported-modules:
      , Data.Attoparsec.ByteString.Run

    build-depends:  base ^>= 4.16 || ^>= 4.17
    reexported-modules:
      , Control.Concurrent
      , Control.Monad
      , Data.Char
      , Prelude
      , System.IO

    build-depends: blaze-html ^>= 0.9.1
    reexported-modules:
      , Text.Blaze.Html
      , Text.Blaze.Html.Renderer.Utf8
      , Text.Blaze.Html5
      , Text.Blaze.Html5.Attributes

    build-depends: bytestring ^>= 0.11.3
    reexported-modules:
      , Data.ByteString
      , Data.ByteString.Builder
      , Data.ByteString.Char8
      , Data.ByteString.Lazy

    build-depends: containers ^>= 0.6.5
    reexported-modules:
      , Data.Map.Strict

    build-depends: directory ^>= 1.3.6
    reexported-modules:
      , System.Directory

    build-depends: filepath ^>= 1.4.2
    reexported-modules:
      , System.FilePath

    build-depends: hash-addressed ^>= 0.2
    reexported-modules:
      , HashAddressed.Directory
      , HashAddressed.HashFunction

    build-depends: mtl ^>= 2.2.2 || ^>= 2.3.1
    reexported-modules:
      , Control.Monad.Except

    build-depends: network ^>= 3.1.2
    reexported-modules:
      , Network.Socket
      , Network.Socket.ByteString

    build-depends: network-simple ^>= 0.4.2
    reexported-modules:
      , Network.Simple.TCP

    build-depends: pipes ^>= 4.3.16
    reexported-modules:
      , Pipes

    build-depends: relude ^>= 1.1 || ^>= 1.2
    reexported-modules:
      , Relude

    build-depends: resourcet ^>= 1.2.5 || ^>= 1.3
    reexported-modules:
      , Control.Monad.Trans.Resource

    build-depends: safe-exceptions ^>= 0.1.7.0
    reexported-modules:
      , Control.Exception.Safe

    build-depends: stm ^>= 2.5
    reexported-modules:
      , Control.Concurrent.STM
      , Control.Concurrent.STM.TVar
      , Control.Monad.STM

    build-depends: text ^>= 1.2.5 || ^>= 2.0
    reexported-modules:
      , Data.Text
      , Data.Text.Encoding
      , Data.Text.IO
      , Data.Text.Lazy
      , Data.Text.Lazy.Builder
      , Data.Text.Lazy.Builder.Int
      , Data.Text.Lazy.Encoding
      , Data.Text.Lazy.IO

    build-depends: time ^>= 1.10 || ^>= 1.11 || ^>= 1.12
    reexported-modules:
      , Data.Time

    build-depends: unfork ^>= 1.0
    reexported-modules:
      , Unfork