-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathacid-state-cbor.cabal
95 lines (87 loc) · 3.16 KB
/
acid-state-cbor.cabal
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
cabal-version: 2.2
name: acid-state-cbor
version: 0.1.0.0
synopsis: An adapter library for using acid-state with cborg/serialise
description: acid-state-cbor provides a drop-in replacement for the
acid-state package, but with an underlying serialisation
format based on CBOR using the cborg and serialise packages.
license: BSD-3-Clause
license-file: LICENSE
author: Adam Gundry
maintainer: Adam Gundry <adam@well-typed.com>
copyright: Copyright (C) 2019-2023 IRIS Connect
category: Database
build-type: Simple
extra-source-files: ChangeLog.md
tested-with: GHC==9.8.1, GHC==9.6.3, GHC==9.4.8, GHC==9.2.8
Source-Repository head
Type: git
Location: git://github.com/iconnect/acid-state-cbor.git
library
exposed-modules: Data.Acid.CBOR,
Data.Acid.CBOR.Internal
other-modules: Data.Acid.CRC.Incremental
other-extensions: TemplateHaskell
build-depends: base >=4.9 && <5,
acid-state >= 0.16 && <0.17,
array >= 0.5 && <0.6,
bytestring >=0.10 && <0.13,
cborg >=0.2 && <0.3,
serialise >=0.2 && <0.3,
template-haskell >=2.11 && <2.23
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
flag build-examples
description: Build the examples
manual: True
default: False
common deps
build-depends: acid-state-cbor,
acid-state,
base,
bytestring,
mtl >=2.2 && <2.4,
safecopy >= 0.6 && <0.11,
serialise
test-suite tests
import: deps
type: exitcode-stdio-1.0
hs-source-dirs: tests
main-is: Main.hs
other-modules: KeyValueStateMachine
TestState
Data.Acid.Test.StateMachine
default-language: Haskell2010
ghc-options: -Wall
build-depends: containers,
deepseq,
directory,
hedgehog,
tasty >=1.1 && <1.6,
tasty-hedgehog,
tasty-quickcheck >=0.10 && <0.11
executable HelloCBOR
import: deps
if !flag(build-examples)
buildable: False
hs-source-dirs: examples
main-is: HelloCBOR.hs
default-language: Haskell2010
ghc-options: -Wall -rtsopts
executable MultipleBackends
import: deps
if !flag(build-examples)
buildable: False
hs-source-dirs: examples
main-is: MultipleBackends.hs
default-language: Haskell2010
ghc-options: -Wall -rtsopts
benchmark Streaming
import: deps
hs-source-dirs: benchmarks
main-is: Streaming.hs
build-depends: directory
default-language: Haskell2010
type: exitcode-stdio-1.0
ghc-options: -Wall -rtsopts