packages feed

http-interchange-0.3.2.0: http-interchange.cabal

cabal-version:   3.0
name:            http-interchange
version:         0.3.2.0
license:         BSD-3-Clause
license-file:    LICENSE
author:          Andrew Martin
maintainer:      andrew.thaddeus@gmail.com
synopsis:        Types and serialization for HTTP
description:
  Types and serialization for HTTP. This includes things like request
  line, status line, and headers. There is also a collection type
  for headers that supports fast, case-insensitive lookup.

copyright:       2023 Andrew Martin
category:        Data
build-type:      Simple
extra-doc-files: CHANGELOG.md

library
  ghc-options:      -Wall -O2
  exposed-modules:
    Http.Bodied
    Http.Header
    Http.Headers
    Http.Request
    Http.Response
    Http.Types

  build-depends:
    , base        >=4.16.3.0 && <5
    , bytebuild   >=0.3.10
    , byteslice   >=0.2.11
    , bytesmith   >=0.3.10
    , contiguous  >=0.6.3
    , primitive   >=0.9.0
    , text        >=2.0

  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:
    , aeson             >=2.1
    , base              >=4.16.3.0
    , byteslice
    , bytestring        >=0.11
    , filepath
    , http-interchange
    , pretty-show       >=1.10
    , primitive         >=0.9.0
    , tasty             >=1.4.3
    , tasty-golden      >=2.3.5