cabal-version: 3.0
name: http-exchange-instantiations
version: 0.1.0.0
synopsis: Instantiations of http-exchange
-- description:
license: BSD-3-Clause
license-file: LICENSE
author: Andrew Martin
maintainer: andrew.thaddeus@gmail.com
copyright: 2023 Andrew Martin
category: Network
build-type: Simple
extra-doc-files: CHANGELOG.md
library chanimpl
ghc-options: -Wall
exposed-modules:
SocketChannel
TlsChannel
build-depends:
, base >=4.17.1.0 && <5
, network-unexceptional >=0.1.1
, network >=3.1.4
, tls >=1.8
, error-codes >=0.1.1
, bytestring >=0.11
, byteslice >=0.2.11
hs-source-dirs: src-chanimpl
default-language: GHC2021
library
ghc-options: -Wall
exposed-modules:
Http.Exchange.Network
Http.Exchange.Tls
build-depends:
, base >=4.17.1.0
, network >=3.1.4
, chanimpl
, http-exchange >=0.1.1
, http-interchange >=0.3.1
, tls >=1.7
hs-source-dirs: src
default-language: GHC2021
mixins:
http-exchange (Exchange as SocketExchange)
requires (Channel as SocketChannel),
http-exchange (Exchange as TlsExchange)
requires (Channel as TlsChannel)
executable http-insecure
ghc-options: -Wall
main-is: Main.hs
build-depends:
, base >=4.17.1.0
, network >=3.1.4
, http-interchange >=0.3.1
, http-exchange-instantiations
, pretty-show >=1.10
hs-source-dirs: app-http-insecure
default-language: GHC2021
executable http-secure
ghc-options: -Wall
main-is: Main.hs
build-depends:
, base >=4.17.1.0
, network >=3.1.4
, http-interchange >=0.3.1
, http-exchange-instantiations
, pretty-show >=1.10
, tls >=1.7
, data-default >=0.7.1
hs-source-dirs: app-http-secure
default-language: GHC2021