packages feed

crdt-event-fold-1.8.1.1: crdt-event-fold.cabal

cabal-version:       3.0
name:                crdt-event-fold
version:             1.8.1.1
synopsis:            Garbage collected event folding CRDT.
description:         Garbage collected event folding CRDT. Consistently
                     apply arbitrary operations to replicated data.
homepage:            https://github.com/owensmurray/crdt-event-fold
license:             MIT
license-file:        LICENSE
author:              Rick Owens
maintainer:          rick@owensmurray.com
copyright:           2022 Owens Murray, LLC.
category:            CRDT
build-type:          Simple
extra-source-files:  README.md

common dependencies
  build-depends:
    , aeson              >= 2.0.3.0  && < 2.3
    , base               >= 4.15.1.0 && < 4.21
    , binary             >= 0.8.8.0  && < 0.9
    , containers         >= 0.6.4.1  && < 0.8
    , data-default-class >= 0.1.2.0  && < 0.2
    , data-dword         >= 0.3.2.1  && < 0.4
    , exceptions         >= 0.10.4   && < 0.11
    , monad-logger       >= 0.3.36   && < 0.4
    , mtl                >= 2.2.2    && < 2.4
    , transformers       >= 0.5.6.2  && < 0.7

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

library
  import: dependencies, warnings
  exposed-modules:     
    Data.CRDT.EventFold
    Data.CRDT.EventFold.Monad
  -- other-modules:       
  -- other-extensions:    
  hs-source-dirs: src
  default-language: Haskell2010

test-suite tests
  import: dependencies, warnings
  main-is: test.hs
  type: exitcode-stdio-1.0
  hs-source-dirs: test
  default-language: Haskell2010
  build-depends:
    , crdt-event-fold
    , hspec >= 2.8.5 && < 2.12


benchmark many-outstanding-events
  import: dependencies, warnings
  type: exitcode-stdio-1.0
  main-is: benchmark-many-events.hs
  hs-source-dirs: test
  default-language: Haskell2010
  build-depends:
    , crdt-event-fold


benchmark serialization
  import: dependencies, warnings
  type: exitcode-stdio-1.0
  main-is: benchmark-serialization.hs
  hs-source-dirs: test
  default-language: Haskell2010
  build-depends:
    , crdt-event-fold
    , bytestring >= 0.10.12.1 && < 0.13