File vault.cabal of Package ghc-vault

Name:               vault
Version:            0.3.1.5
x-revision: 8
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:            BSD3
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-2013

build-type:         Simple
cabal-version:      >= 1.10
Tested-With:         GHC == 8.0.2
                    ,GHC == 8.2.2
                    ,GHC == 8.4.4
                    ,GHC == 8.6.5
                    ,GHC == 8.8.4
                    ,GHC == 8.10.7
                    ,GHC == 9.0.2
                    ,GHC == 9.2.8
                    ,GHC == 9.4.8
                    ,GHC == 9.6.6
                    ,GHC == 9.8.2
                    ,GHC == 9.10.1

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

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

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

Library
    hs-source-dirs:     src
    build-depends:      base >= 4.5 && < 4.21,
                        containers >= 0.4 && < 0.8,
                        unordered-containers >= 0.2.3.0 && < 0.3,
                        hashable >= 1.1.2.5 && < 1.6

    if impl(ghc < 8.0)
        build-depends:  semigroups >= 0.1 && < 1.0

    default-language:   Haskell2010
    default-extensions: CPP
    ghc-options:        -Wall -fno-warn-missing-signatures

    exposed-modules:
                        Data.Vault.Lazy,
                        Data.Vault.Strict,
                        Data.Vault.ST.Lazy,
                        Data.Vault.ST.Strict,
                        Data.Unique.Really

    if impl(ghc) && flag(UseGHC)
        CPP-options:    -DUseGHC
openSUSE Build Service is sponsored by