File: expiring-cache-map.cabal

package info (click to toggle)
haskell-expiring-cache-map 0.0.6.1-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 232 kB
  • ctags: 3
  • sloc: haskell: 2,209; makefile: 5
file content (108 lines) | stat: -rw-r--r-- 3,277 bytes parent folder | download | duplicates (5)
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
name:                expiring-cache-map
version:             0.0.6.1
synopsis:            General purpose simple caching.
description:         
    A simple general purpose shared state cache map with automatic expiration 
    of values, for caching the results of accessing a resource such as reading 
    a file. With variations for Ord and Hashable keys using "Data.Map.Strict"
    and "Data.HashMap.Strict", respectively.

homepage:            https://github.com/elblake/expiring-cache-map
bug-reports:         https://github.com/elblake/expiring-cache-map/issues
license:             BSD3
license-file:        LICENSE
author:              Edward L. Blake
maintainer:          edwardlblake@gmail.com
copyright:           (c) 2014 Edward L. Blake
category:            Caching
build-type:          Simple
cabal-version:       >=1.8

extra-source-files:
    README.md

library
  exposed-modules:
    Caching.ExpiringCacheMap.OrdECM
    Caching.ExpiringCacheMap.HashECM
    Caching.ExpiringCacheMap.Internal.Internal
    Caching.ExpiringCacheMap.Internal.Types
    Caching.ExpiringCacheMap.Types
    Caching.ExpiringCacheMap.Utils.TestSequence
    Caching.ExpiringCacheMap.Utils.Types
  -- other-modules:       
  build-depends:       
    base == 4.*,
    containers >= 0.5.0.0,
    hashable >= 1.0.1.1,
    unordered-containers >= 0.2.0.0

test-suite test-threads
    type: exitcode-stdio-1.0
    hs-source-dirs: . tests
    main-is: TestWithThreads.hs
    build-depends:
      base,
      bytestring >= 0.10.0.0,
      time >= 1.0,
      containers >= 0.5.0.0,
      hashable >= 1.0.1.1,
      unordered-containers >= 0.2.0.0
    other-modules:
      TestHashECMWithThreads
      TestHashECMWithThreadsInvalidating
      TestOrdECMWithThreads
      TestOrdECMWithThreadsInvalidating
      Caching.ExpiringCacheMap.Internal.Internal

test-suite test-sequence
    type: exitcode-stdio-1.0
    hs-source-dirs: . tests
    main-is: TestWithTestSequence.hs
    build-depends:
      base,
      bytestring >= 0.10.0.0,
      containers >= 0.5.0.0,
      hashable >= 1.0.1.1,
      unordered-containers >= 0.2.0.0
    other-modules:
      TestECMWithTestSequenceCommon
      TestECMWithTestSequenceCommonInvalidating
      TestHashECMWithTestSequence
      TestHashECMWithTestSequenceInvalidating
      TestOrdECMWithTestSequence
      TestOrdECMWithTestSequenceInvalidating

test-suite invalidate-test
    type: exitcode-stdio-1.0
    hs-source-dirs: . tests
    main-is: InvalidateTest.hs
    build-depends:
      base,
      bytestring >= 0.10.0.0,
      time >= 1.0,
      containers >= 0.5.0.0,
      hashable >= 1.0.1.1,
      unordered-containers >= 0.2.0.0
    other-modules:
      InvalidateTestCommon
      InvalidateTestHashECM
      InvalidateTestOrdECM
      Caching.ExpiringCacheMap.Internal.Internal

test-suite invalidate-cache-test
    type: exitcode-stdio-1.0
    hs-source-dirs: . tests
    main-is: InvalidateCacheTest.hs
    build-depends:
      base,
      bytestring >= 0.10.0.0,
      time >= 1.0,
      containers >= 0.5.0.0,
      hashable >= 1.0.1.1,
      unordered-containers >= 0.2.0.0
    other-modules:
      InvalidateCacheTestCommon
      InvalidateCacheTestHashECM
      InvalidateCacheTestOrdECM
      Caching.ExpiringCacheMap.Internal.Internal