om-socket-0.11.0.3: om-socket.cabal
cabal-version: 3.0
name: om-socket
version: 0.11.0.3
synopsis: Socket utilities.
description: Binary ingress server, egress client, and
bidirectional binarry client/server
homepage: https://github.com/owensmurray/om-socket
license: MIT
author: Rick Owens
maintainer: rick@owensmurray.com
copyright: 2022 Rick Owens
category: Network
build-type: Simple
extra-source-files:
LICENSE
README.md
common warnings
ghc-options:
-Wmissing-deriving-strategies
-Wmissing-export-lists
-Wmissing-import-lists
-Wredundant-constraints
-Wall
common dependencies
build-depends:
, aeson >= 2.0.3.0 && < 2.1
, base >= 4.15.0.0 && < 4.16
, binary >= 0.8.8.0 && < 0.9
, binary-conduit >= 1.3.1 && < 1.4
, bytestring >= 0.10.12.1 && < 0.11
, conduit >= 1.3.4.3 && < 1.4
, conduit-extra >= 1.3.6 && < 1.4
, containers >= 0.6.4.1 && < 0.7
, exceptions >= 0.10.4 && < 0.11
, megaparsec >= 9.2.2 && < 9.3
, monad-logger >= 0.3.37 && < 0.4
, network >= 3.1.2.7 && < 3.2
, om-show >= 0.1.2.2 && < 0.2
, stm >= 2.5.0.0 && < 2.6
, text >= 1.2.5.0 && < 1.3
, time >= 1.9.3 && < 1.10
, tls >= 1.5.8 && < 1.6
library
import: warnings, dependencies
exposed-modules:
OM.Socket
-- other-modules:
-- other-extensions:
hs-source-dirs: src
default-language: Haskell2010
-- This isn't really a test, it is just used to make sure the example
-- compiles without clusttering up the package with a bunch of
-- executables.
test-suite ingress-example
import: warnings, dependencies
main-is: ingress.hs
type: exitcode-stdio-1.0
hs-source-dirs: examples
default-language: Haskell2010
build-depends:
, om-socket
-- This isn't really a test, it is just used to make sure the example
-- compiles without clusttering up the package with a bunch of
-- executables.
test-suite egress-example
import: warnings, dependencies
main-is: egress.hs
type: exitcode-stdio-1.0
hs-source-dirs: examples
default-language: Haskell2010
build-depends:
, om-socket
-- This isn't really a test, it is just used to make sure the example
-- compiles without clusttering up the package with a bunch of
-- executables.
test-suite server-example
import: warnings, dependencies
main-is: server.hs
type: exitcode-stdio-1.0
hs-source-dirs: examples
default-language: Haskell2010
build-depends:
, om-socket
, transformers >= 0.5.6.2 && < 0.6
-- This isn't really a test, it is just used to make sure the example
-- compiles without clusttering up the package with a bunch of
-- executables.
test-suite client-example
import: warnings, dependencies
main-is: client.hs
type: exitcode-stdio-1.0
hs-source-dirs: examples
default-language: Haskell2010
build-depends:
, om-socket