packages feed

craze-0.1.2.0: craze.cabal

-- This file has been generated from package.yaml by hpack version 0.9.0.
--
-- see: https://github.com/sol/hpack

name:                craze
version:             0.1.2.0
synopsis:            HTTP Racing Library
description:         A micro-library for racing HTTP GET requests
homepage:            https://github.com/etcinit/craze#readme
bug-reports:         https://github.com/etcinit/craze/issues
license:             MIT
license-file:        LICENSE
maintainer:          Eduardo Trujillo <ed@chromabits.com>
category:            Web
build-type:          Simple
cabal-version:       >= 1.10

source-repository head
  type: git
  location: https://github.com/etcinit/craze

library
  hs-source-dirs:
      src
  ghc-options: -Wall
  build-depends:
      base >= 4.7 && < 5
    , curl
    , bytestring
    , transformers
    , text
    , async
    , data-default-class
    , containers
  exposed-modules:
      Network.Craze
  default-language: Haskell2010

executable craze-example
  main-is: Main.hs
  hs-source-dirs:
      app
  ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N -Wall -fno-warn-unused-do-bind
  build-depends:
      base >= 4.7 && < 5
    , curl
    , bytestring
    , transformers
    , text
    , craze
    , optparse-generic
  default-language: Haskell2010

test-suite craze-spec
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  hs-source-dirs:
      test
  ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N -Wall -fno-warn-unused-do-bind
  build-depends:
      base >= 4.7 && < 5
    , curl
    , bytestring
    , transformers
    , text
    , craze
    , hspec
    , hspec-discover
    , http-types
    , haxy
    , HTTP
  other-modules:
      Doctest
      Network.CrazeSpec
  default-language: Haskell2010

test-suite craze-doctest
  type: exitcode-stdio-1.0
  main-is: Doctest.hs
  hs-source-dirs:
      test
  ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N -Wall -fno-warn-unused-do-bind
  build-depends:
      base >= 4.7 && < 5
    , curl
    , bytestring
    , transformers
    , text
    , craze
    , doctest
    , doctest-discover
  other-modules:
      Network.CrazeSpec
      Spec
  default-language: Haskell2010