vault-0.3.2.0: vault.cabal
cabal-version: 3.4
name: vault
-- Package Versioning Policy: https://pvp.haskell.org
-- PVP summary: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
version: 0.3.2.0
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.3
|| ==9.12.4
extra-source-files:
src/Data/Unique/Really/Core.h
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
test/Data/Vault/Spec.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
Internal.Data.Vault.ST.IORef
other-modules:
Data.Unique.Really.Any
Data.Unique.Really.GHC
if (impl(ghc) && flag(useghc))
cpp-options: -DUseGHC
if impl(mhs)
build-depends:
, unordered-containers >= 0.2.21
test-suite test
type: exitcode-stdio-1.0
hs-source-dirs: test
default-language: Haskell2010
default-extensions: CPP
ghc-options: -threaded
build-depends:
, base
, vault
, hspec >=2.11.0 && <2.12
main-is: Spec.hs
other-modules:
Data.Vault.ST.LazySpec
Internal.Data.Vault.ST.IORefSpec