packages feed

http-env-0.0.0.0: http-env.cabal

cabal-version: 1.12

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

name:           http-env
version:        0.0.0.0
synopsis:       Call HTTP dependencies with retries, a circuit breaker and a failure budget
description:    Call a dependency through an env that holds its retries, circuit breaker, failure budget, rate limiter and log policy, configured once per process.
                .
                For more info, see <https://github.com/NorfairKing/http-env the readme>.
category:       Network
homepage:       https://github.com/NorfairKing/http-env#readme
bug-reports:    https://github.com/NorfairKing/http-env/issues
author:         Tom Sydney Kerckhove
maintainer:     syd@cs-syd.eu
copyright:      Copyright (c) 2026 Tom Sydney Kerckhove
license:        MIT
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    LICENSE
    CHANGELOG.md

source-repository head
  type: git
  location: https://github.com/NorfairKing/http-env

library
  exposed-modules:
      Network.HTTP.Env
      Network.HTTP.Env.CircuitBreaker
      Network.HTTP.Env.CircuitBreaker.Retry
      Network.HTTP.Env.FailureBudget
      Network.HTTP.Env.HttpClient
      Network.HTTP.Env.HttpClient.Retry
      Network.HTTP.Env.LogPolicy
      Network.HTTP.Env.Manager
      Network.HTTP.Env.Metrics
      Network.HTTP.Env.Numeric
      Network.HTTP.Env.OptParse
      Network.HTTP.Env.OptParse.Duration
      Network.HTTP.Env.Pacing
      Network.HTTP.Env.RateLimit
      Network.HTTP.Env.Servant
      Network.HTTP.Env.Servant.Client
      Network.HTTP.Env.Servant.Retry
  other-modules:
      Paths_http_env
  hs-source-dirs:
      src
  ghc-options: -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates -Wpartial-fields -Widentities -Wredundant-constraints -Wcpp-undef -Wunused-packages
  build-depends:
      autodocodec
    , base >=4.20 && <5
    , bytestring
    , containers
    , deepseq
    , hashable
    , http-client
    , http-client-tls
    , http-types
    , monad-logger
    , network-uri
    , opt-env-conf
    , pretty-show
    , prometheus
    , retry
    , scientific
    , servant-client
    , servant-client-core
    , stm-containers
    , text
    , time
    , token-limiter-concurrent
    , unliftio
    , validity
    , validity-containers
    , validity-time
  default-language: Haskell2010