2024-07-12 20:07:40 +03:00
|
|
|
cabal-version: 3.4
|
|
|
|
name: http-barf
|
|
|
|
version: 0.1.0.0
|
|
|
|
synopsis: a library to make http requests without worrying much
|
2024-07-21 19:57:35 +03:00
|
|
|
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
|
2024-07-12 20:07:40 +03:00
|
|
|
|
|
|
|
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
|
2024-07-21 19:57:35 +03:00
|
|
|
extra-doc-files:
|
|
|
|
CHANGELOG.md
|
|
|
|
README.md
|
2024-07-12 20:07:40 +03:00
|
|
|
|
|
|
|
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:
|
2024-07-21 18:43:26 +03:00
|
|
|
, aeson <2.3
|
|
|
|
, base <5
|
|
|
|
, bytestring <0.13
|
|
|
|
, http-client <0.8
|
|
|
|
, http-client-tls <0.4
|
|
|
|
, mtl <2.4
|
|
|
|
, vector <0.14
|
2024-07-12 20:07:40 +03:00
|
|
|
|
|
|
|
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
|