File: vault.cabal

package info (click to toggle)
haskell-vault 0.3.1.6-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 100 kB
  • sloc: ansic: 143; haskell: 66; makefile: 2
file content (75 lines) | stat: -rw-r--r-- 2,006 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
cabal-version:      3.4
name:               vault
version:            0.3.1.6
synopsis:           a persistent store for values of arbitrary types
description:
  A /vault/ is a persistent store for values of arbitrary types.
  It's like having first-class access to the storage space behind IORefs.
  .
  The data structure is analogous to a bank vault,
  where you can access different bank boxes with different keys;
  hence the name.
  .
  Also provided is a /locker/ type, representing a store for a single element.

category:           Data
license:            BSD-3-Clause
license-file:       LICENSE
author:             Heinrich Apfelmus, Elliott Hird
maintainer:         Heinrich Apfelmus <apfelmus at quantentunnel de>
homepage:           https://github.com/HeinrichApfelmus/vault
copyright:          (c) Heinrich Apfelmus 2011-2026
tested-with:
  GHC ==8.4.4
   || ==8.6.5
   || ==8.8.4
   || ==8.10.7
   || ==9.0.2
   || ==9.2.8
   || ==9.4.8
   || ==9.6.7
   || ==9.8.4
   || ==9.10.2
   || ==9.12.2

extra-source-files:
  src/Data/Vault/IO.h
  src/Data/Vault/ST/backends/GHC.h
  src/Data/Vault/ST/backends/IORef.hs
  src/Data/Vault/ST/ST.h
extra-doc-files:
  CHANGELOG.md
  README.md

source-repository head
  type:     git
  location: https://github.com/HeinrichApfelmus/vault.git

flag UseGHC
  description: Use GHC-specific packages and extensions.
  default:     True

library
  default-language:   Haskell2010
  default-extensions: CPP
  build-depends:
    , base                  >=4.11    && <4.23
    , containers            >=0.5     && <0.9
    , hashable              >=1.1.2.5 && <1.6
    , unordered-containers  >=0.2.3.0 && <0.3

  ghc-options:        -Wall -fno-warn-missing-signatures
  hs-source-dirs:     src
  exposed-modules:
    Data.Unique.Really
    Data.Vault.Lazy
    Data.Vault.ST.Lazy
    Data.Vault.ST.Strict
    Data.Vault.Strict

  if (impl(ghc) && flag(useghc))
    cpp-options: -DUseGHC

  if impl(mhs)
    build-depends:
      , unordered-containers >= 0.2.21