packages feed

hprox-0.2.1: hprox.cabal

cabal-version: 1.12

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

name:           hprox
version:        0.2.1
synopsis:       a lightweight HTTP proxy server, and more
description:    Please see the README on GitHub at <https://github.com/bjin/hprox#readme>
category:       Web
homepage:       https://github.com/bjin/hprox#readme
bug-reports:    https://github.com/bjin/hprox/issues
author:         Bin Jin
maintainer:     bjin@ctrl-d.org
copyright:      2023 Bin Jin
license:        Apache-2.0
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md

source-repository head
  type: git
  location: https://github.com/bjin/hprox

flag static
  description: Enable static build
  manual: True
  default: False

executable hprox
  main-is: Main.hs
  other-modules:
      DoH
      HProx
      Paths_hprox
      Util
  hs-source-dirs:
      src
  ghc-options: -Wall -O2 -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      async >=2.2
    , base >=4.12 && <5
    , base64-bytestring >=1.1
    , binary >=0.8
    , bytestring >=0.10
    , case-insensitive >=1.2
    , conduit >=1.3
    , conduit-extra >=1.3
    , dns >=4.0
    , http-client >=0.5
    , http-client-tls >=0.3.4
    , http-reverse-proxy >=0.4.0
    , http-types >=0.12
    , optparse-applicative >=0.14
    , tls >=1.5
    , unix >=2.7
    , wai >=3.2.2
    , wai-extra >=3.0
    , warp >=3.2.8
    , warp-tls >=3.2.5
  default-language: Haskell2010
  if flag(static)
    ghc-options: -optl-static