packages feed

box-socket-0.4.1: box-socket.cabal

cabal-version: 2.4
name:          box-socket
version:       0.4.1
synopsis:      Box websockets
description:   Websockets built with the box library.
category:      project
author:        Tony Day
maintainer:    tonyday567@gmail.com
copyright:     Tony Day (c) AfterTimes
license:       BSD-3-Clause
homepage:      https://github.com/tonyday567/box-socket#readme
bug-reports:   https://github.com/tonyday567/box-socket/issues
build-type:    Simple
tested-with:
  GHC ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.2.5 || ==9.4.4

source-repository head
  type:     git
  location: https://github.com/tonyday567/box-socket

library
  exposed-modules:
    Box.Socket
    Box.Socket.Example
    Box.TCP

  hs-source-dirs:   src
  build-depends:
    , async           ^>=2.2.3
    , base            >=4.12  && <5
    , box             >=0.9
    , bytestring      >=0.10  && <0.12
    , exceptions      ^>=0.10
    , network         ^>=3.1
    , network-simple  ^>=0.4
    , text            >=1.2.4 && < 2.1
    , websockets      ^>=0.12

  default-language: Haskell2010
  ghc-options:
    -Wall -Wcompat -Wincomplete-record-updates
    -Wincomplete-uni-patterns -Wredundant-constraints

executable box-socket
  main-is:          box-socket.hs
  hs-source-dirs:   app
  build-depends:
    , base              >=4.7 && <5
    , box-socket
    , optparse-generic  >=1.3 && <1.5

  default-language: Haskell2010
  ghc-options:
    -funbox-strict-fields -fforce-recomp -threaded -rtsopts
    -with-rtsopts=-N