File: vector-hashtables.cabal

package info (click to toggle)
haskell-vector-hashtables 0.1.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 184 kB
  • sloc: haskell: 1,476; makefile: 3
file content (82 lines) | stat: -rw-r--r-- 2,711 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
cabal-version:       2.0
name:                vector-hashtables
version:             0.1.2.1
synopsis:            Efficient vector-based mutable hashtables implementation.
description:
  This package provides efficient vector-based hashtable implementation similar to .NET Generic Dictionary implementation (at the time of 2015).
  .
  See "Data.Vector.Hashtables" for documentation.
homepage:            https://github.com/klapaucius/vector-hashtables#readme
license:             BSD3
license-file:        LICENSE
author:              klapaucius
maintainer:          klapaucius, swamp_agr, ArtemPelenitsyn
copyright:           2016-2024 klapaucius, swamp_agr
category:            Data
build-type:          Simple
extra-doc-files:     README.md,
                     changelog.md
extra-source-files:  gen/GenPrimes.hs
tested-with:
    GHC == 9.8.1
    GHC == 9.6.3
    GHC == 9.4.7
    GHC == 9.2.8
    GHC == 9.0.2
    GHC == 8.10.7
    GHC == 8.8.4
    GHC == 8.6.5

library
  hs-source-dirs:    src
  exposed-modules:     Data.Vector.Hashtables,
                       Data.Vector.Hashtables.Internal,
                       Data.Vector.Hashtables.Internal.Mask,
                       Data.Primitive.PrimArray.Utils
  ghc-options:         -O2
  build-depends:       base >= 4.7 && < 5
                     , primitive >= 0.7.1.0
                     , vector
                     , hashable
  default-language:    Haskell2010

benchmark vector-hashtables-bench
  type:                exitcode-stdio-1.0
  hs-source-dirs:      bench
  main-is:             Main.hs
  ghc-options:         -O2 -rtsopts
  build-depends:       base
                     , vector-hashtables
                     , vector
                     , primitive
                     , criterion
                     , hashtables
                     , unordered-containers
  default-language:    Haskell2010

test-suite vector-hashtables-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  ghc-options:         -threaded -rtsopts
  default-language:    Haskell2010
  other-modules:       Data.Vector.HashTablesSpec
  build-depends:       base
                     , primitive
                     , containers
                     , hashable
                     , vector
                     , vector-hashtables

  -- Additional dependencies
  build-depends:
      hspec                >= 2.6.0    && < 2.12
    , QuickCheck           >= 2.12.6.1 && < 2.17
    , quickcheck-instances >= 0.3.19   && < 0.4

  build-tool-depends:
    hspec-discover:hspec-discover >= 2.6.0 && < 2.12

source-repository head
  type:     git
  location: https://github.com/klapaucius/vector-hashtables