name:                data-store
version:             0.3.0.7

synopsis:    Type safe, in-memory dictionary with multidimensional keys.
description: Type safe, in-memory dictionary with multidimensional keys.
  Similar to ixset, higgsset, tables. But offers: type safe interface,
  auto-increment dimensions, specifying the relationships between the key dimension and the elements (one-one, one-many, many-one, many-many), performance. 

homepage: https://github.com/Palmik/data-store           

license:             BSD3
license-file:        LICENSE

author:              Petr Pilar
maintainer:          the.palmik+maintainer@gmail.com

category:            Data

build-type:          Simple
cabal-version:       >= 1.8

source-repository head
  type: git
  location: git://github.com/Palmik/data-store.git
  branch: master

library
  hs-source-dirs:      src
  exposed-modules:
      Data.Store
    , Data.Store.Selection
    , Data.Store.Storable
    , Data.Store.Lens
    
    , Data.Store.Internal.Type
    , Data.Store.Internal.Function
  
  other-modules:
      Data.Map.Extra
    , Data.IntSet.Extra

  build-depends:
      base         >= 4.5 && < 5
    , containers   >= 0.4 && < 1
    , lens         >= 3.9 && < 4
    , transformers >= 0.2 && < 0.4

    , cereal     >= 0.3.5 && < 0.4
    , deepseq    >= 1.3.0 && < 1.4
    , safecopy   >= 0.8 && < 0.9
  ghc-options: -O2 -Wall

test-suite data-store-tests
  type:           exitcode-stdio-1.0
  hs-source-dirs: tests, src
  main-is:        Main.hs

  other-modules:
      Test.Data.Store01

    , Data.Store    
    , Data.Store.Lens    
  
  build-depends:
      base         >= 4.5 && < 5
    , containers   >= 0.4 && < 1
    , lens         >= 3.9 && < 4
    , transformers >= 0.2 && < 0.4
    , vector       >= 0.10 && < 0.11

    , cereal     >= 0.3.5 && < 0.4
    , deepseq    >= 1.3.0 && < 1.4
    , safecopy   >= 0.8 && < 0.9

    , test-framework             >= 0.8
    , test-framework-quickcheck2 >= 0.3
    , QuickCheck                 >= 2.4 && < 2.6

benchmark data-store-benchmark-01
  type:           exitcode-stdio-1.0
  hs-source-dirs: benchmarks/src, src
  main-is:        01.hs

  other-modules:
      Common
    , DS.B01
    , TS.B01


  build-depends:
      base         >= 4.6 && < 5
    , containers   >= 0.5 && < 1
    , lens         >= 3.9 && < 4
    , transformers >= 0.2 && < 0.4
    , vector       >= 0.10 && < 0.11

    , cereal     >= 0.3.5 && < 0.4
    , deepseq    >= 1.3.0 && < 1.4
    , safecopy   >= 0.8 && < 0.9

    , unordered-containers >= 0.2
    , tagged     >= 0.4
    , mtl        >= 2.1

    , ixset
    , tables     >= 0.3.1.1
    , lens       >= 3.8
    , bytestring 
    , criterion  >= 0.6.2
    , deepseq    >= 1.3.0
    , random     >= 1.0.1
  
  ghc-options: -Wall -O2