packages feed

http-barf-0.1.0.0: http-barf.cabal

cabal-version:   3.4
name:            http-barf
version:         0.1.0.0
synopsis:        a library to make http requests without worrying much 
description:
  a dead simple library to make http requests. It provides helper functions to use different http methods, it supports 
  both insecure and secure connections without having to deal with managers and the requests can be trivially modified using a monoidal
  combinator library

homepage:        https://git.mangoiv.com/mangoiv/http-barf
license:         AGPL-3.0-or-later
license-file:    LICENSE
author:          mangoiv
maintainer:      contact@mangoiv.com

-- copyright:
category:        Network
build-type:      Simple
extra-doc-files:
  CHANGELOG.md
  README.md

common common-all
  ghc-options: -Wall

library
  import:             common-all
  exposed-modules:
    Network.HTTP.Barf
    Network.HTTP.Barf.Internal

  -- other-modules:
  -- other-extensions:
  build-depends:
    , aeson            <2.3
    , base             <5
    , bytestring       <0.13
    , http-client      <0.8
    , http-client-tls  <0.4
    , mtl              <2.4
    , vector           <0.14

  hs-source-dirs:     src
  default-language:   GHC2021
  default-extensions:
    BlockArguments
    DataKinds
    DerivingVia
    OverloadedRecordDot
    TypeFamilies

test-suite http-barf-test
  import:           common-all
  default-language: GHC2021

  -- other-modules:
  -- other-extensions:
  type:             exitcode-stdio-1.0
  hs-source-dirs:   test
  main-is:          Main.hs
  build-depends:
    , base
    , http-barf