cabal-version: 3.0
name: http-exchange-instantiations
version: 0.1.3.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
SocketInterruptibleChannel
TlsChannel
-- TlsInterruptibleChannel
build-depends:
, base >=4.16.3.0 && <5
, network-unexceptional >=0.2
, network >=3.1.4
, tls >=1.8
, error-codes >=0.1.1
, bytestring >=0.11
, byteslice >=0.2.11
, stm >=2.5.1.0
hs-source-dirs: src-chanimpl
default-language: GHC2021
library
ghc-options: -Wall
exposed-modules:
Http.Exchange.Network
Http.Exchange.Tls
build-depends:
, base >=4.16.3.0
, chanimpl
, http-exchange >=0.1.1
, http-interchange >=0.3.1
, network >=3.1.4
, stm >=2.5.1.0
, tls >=1.7
, network-unexceptional >=0.2
, bytestring >=0.11
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),
http-exchange (Exchange as SocketInterruptibleExchange)
requires (Channel as SocketInterruptibleChannel)
executable http-insecure
ghc-options: -Wall
main-is: Main.hs
build-depends:
, base >=4.16.3.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.16.3.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