packages feed

http-exchange-0.1.1.0: http-exchange.cabal

cabal-version: 3.0
name: http-exchange
version: 0.1.1.0
synopsis: Perform HTTP Requests
description: Perform HTTP requests. This uses backpack and is agnostic to the backend.
license: BSD-3-Clause
license-file: LICENSE
author: Andrew Martin
maintainer: andrew.thaddeus@gmail.com
copyright: 2023 Andrew Martin
category: Data
build-type: Simple
extra-doc-files: CHANGELOG.md

library types
  ghc-options: -Wall
  exposed-modules: Http.Exchange.Types
  build-depends: base >=4.16.3.0 && <5
  hs-source-dirs: src-types
  default-language: GHC2021

library testdep
  ghc-options: -Wall
  exposed-modules: OkChannel
  build-depends:
    , base >=4.16.3.0 && <5
    , byteslice >=0.2.11
    , types
  hs-source-dirs: src-testdep
  default-language: GHC2021

library
  signatures: Channel
  ghc-options: -Wall
  exposed-modules: Exchange
  build-depends:
    , base >=4.16.3.0 && <5
    , http-interchange >=0.3.1
    , text >= 2.0
    , types
    , primitive >=0.8
    , byteslice >=0.2.11
    , bytesmith >=0.3.9
  hs-source-dirs: src
  default-language: GHC2021

test-suite test
  ghc-options: -Wall
  default-language: GHC2021
  type: exitcode-stdio-1.0
  hs-source-dirs: test
  main-is: Main.hs
  build-depends:
    , base >=4.16.3.0 && <5
    , http-interchange >=0.3.1
    , http-exchange
    , testdep
    , tasty >=1.4.3
    , tasty-hunit >=0.10.0.3
    , byteslice
    , bytestring >=0.11
    , primitive >=0.8
  mixins:
    http-exchange (Exchange as OkExchange)
      requires (Channel as OkChannel)