hprox-0.4.0: 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.4.0
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
Changelog.md
source-repository head
type: git
location: https://github.com/bjin/hprox
flag static
description: Enable static build
manual: True
default: False
library
exposed-modules:
Network.HProx
other-modules:
Network.HProx.DoH
Network.HProx.Impl
Network.HProx.Util
Paths_hprox
hs-source-dirs:
src
default-extensions:
ImportQualifiedPost
OverloadedStrings
RecordWildCards
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints
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
, random
, 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
executable hprox
main-is: Main.hs
other-modules:
Paths_hprox
hs-source-dirs:
app
default-extensions:
ImportQualifiedPost
OverloadedStrings
RecordWildCards
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N -O2
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
, hprox
, http-client >=0.5
, http-client-tls >=0.3.4
, http-reverse-proxy >=0.4.0
, http-types >=0.12
, optparse-applicative >=0.14
, random
, 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