packages feed

om-legion-6.9.0.3: om-legion.cabal

cabal-version:       3.0
name:                om-legion
version:             6.9.0.3
synopsis:            Legion Framework.
description:         Framework for managing shared, replicated state across a
                     number of homogeneous nodes.
homepage:            https://github.com/owensmurray/om-legion
license:             MIT
license-file:        LICENSE
author:              Rick Owens
maintainer:          rick@owensmurray.com
copyright:           2022 Owens Murray, LLC.
category:            Network
build-type:          Simple
extra-source-files:
  LICENSE
  README.md
  test/k8s/k8s.mustache

common dependencies
  build-depends:
    , aeson              >= 2.0.3.0   && < 2.1
    , async              >= 2.2.4     && < 2.3
    , base               >= 4.15.0.0  && < 4.16
    , binary             >= 0.8.8.0   && < 0.9
    , bytestring         >= 0.10.12.1 && < 0.11
    , clock              >= 0.8.3     && < 0.9
    , conduit            >= 1.3.4.2   && < 1.4
    , containers         >= 0.6.4.1   && < 0.7
    , crdt-event-fold    >= 1.8.0.0   && < 1.9
    , data-default-class >= 0.1.2.0   && < 0.2
    , http-api-data      >= 0.4.3     && < 0.5
    , monad-logger       >= 0.3.36    && < 0.4
    , mtl                >= 2.2.2     && < 2.3
    , network            >= 3.1.2.7   && < 3.2
    , om-fork            >= 0.7.1.3   && < 0.8
    , om-logging         >= 1.1.0.1   && < 1.2
    , om-show            >= 0.1.2.1   && < 0.2
    , om-socket          >= 0.11.0.1  && < 0.12
    , om-time            >= 0.3.0.0   && < 0.4
    , random-shuffle     >= 0.0.4     && < 0.1
    , safe-exceptions    >= 0.1.7.3   && < 0.2
    , stm                >= 2.5.0.0   && < 2.6
    , text               >= 1.2.5.0   && < 1.3
    , time               >= 1.9.3     && < 1.10
    , transformers       >= 0.5.6.2   && < 0.6
    , unliftio-core      >= 0.2.0.1   && < 0.3
    , uuid               >= 1.3.15    && < 1.4

common warnings
  ghc-options:
    -Wall
    -Wmissing-deriving-strategies
    -Wmissing-export-lists
    -Wmissing-import-lists
    -Wredundant-constraints

library
  import: dependencies, warnings
  exposed-modules:     
    OM.Legion
  other-modules:       
    OM.Legion.Conduit
    OM.Legion.Connection
    OM.Legion.MsgChan
    OM.Legion.Runtime
  -- other-extensions:    
  hs-source-dirs: src
  default-language: Haskell2010

common test-dependencies
  build-depends:
    , om-legion

    , hostname         >= 1.0      && < 1.1
    , hspec            >= 2.8.5    && < 2.9
    , lens             >= 5.0.1    && < 5.1
    , lens-aeson       >= 1.1.3    && < 1.2
    , mustache         >= 2.4.1    && < 2.5
    , om-kubernetes    >= 2.3.1.3  && < 2.4
    , safe             >= 0.3.19   && < 0.4
    , template-haskell >= 2.17.0.0 && < 2.18
    , unix             >= 2.7.2.2  && < 2.8
    , unliftio         >= 0.2.22.0 && < 0.3
    , vector           >= 0.12.3.1 && < 0.13

executable om-legion-test-node
  import: warnings, dependencies, test-dependencies
  main-is: om-legion-test-node.hs
  hs-source-dirs: test
  other-modules:
    Test.OM.Legion
  default-language: Haskell2010

executable om-legion-test-driver
  import: warnings, dependencies, test-dependencies
  main-is: om-legion-test-driver.hs
  hs-source-dirs: test
  other-modules:
    Test.OM.Legion
  default-language: Haskell2010

executable om-legion-test-run
  import: warnings, dependencies, test-dependencies
  main-is: om-legion-test-run.hs
  hs-source-dirs: test
  other-modules:
    Test.OM.Legion
  default-language: Haskell2010

executable om-legion-test-inc
  import: warnings, dependencies, test-dependencies
  main-is: om-legion-test-inc.hs
  hs-source-dirs: test
  other-modules:
    Test.OM.Legion
  default-language: Haskell2010
  ghc-options: -threaded

executable om-legion-test-stable
  import: warnings, dependencies, test-dependencies
  main-is: om-legion-test-stable.hs
  hs-source-dirs: test
  other-modules:
    Test.OM.Legion
  default-language: Haskell2010

executable om-legion-test-profile
  import: warnings, dependencies, test-dependencies
  main-is: om-legion-test-profile.hs
  hs-source-dirs: test
  other-modules:
    Test.OM.Legion
  default-language: Haskell2010
  ghc-options:
    -threaded