packages feed

persist-0.1: persist.cabal

name:                   persist
version:                0.1
license:                BSD3
license-file:           LICENSE
author:                 Daniel Mendler <mail@daniel-mendler.de>,
                        Michael Sloan <sloan@fpcomplete.com>,
                        FP Complete,
                        Lennart Kolmodin <kolmodin@dtek.chalmers.se>,
                        Galois Inc.,
                        Lemmih <lemmih@gmail.com>,
                        Bas van Dijk <v.dijk.bas@gmail.com>
maintainer:             Daniel Mendler <mail@daniel-mendler.de>
category:               Data, Parsing
stability:              provisional
build-type:             Simple
cabal-version:          >= 1.10
synopsis:               Minimal serialization library with focus on performance
homepage:               https://github.com/minad/persist
tested-with:            GHC == 8.4.3, GHC == 8.6.1

description:
  A binary serialization library with focus on performance similar to store and cereal

source-repository head
  type:     git
  location: git://github.com/minad/persist

library
        default-language:       Haskell2010

        build-depends:          base >= 4.4 && < 5, containers, array,
                                ghc-prim >= 0.2, bytestring >= 0.10.4 && < 1,
                                text >= 1.2 && < 1.3

        hs-source-dirs:         src

        exposed-modules:        Data.Persist

        ghc-options:            -Wall -O2 -funbox-strict-fields



test-suite test-persist
        default-language:       Haskell2010

        type:                   exitcode-stdio-1.0

        build-depends:          base == 4.*,
                                bytestring >= 0.9,
                                QuickCheck,
                                test-framework,
                                test-framework-quickcheck2,
                                persist,
                                text >= 1.2 && < 1.3

        main-is:                Main.hs
        other-modules:          RoundTrip
                                GetTests

        hs-source-dirs:         tests