-
Notifications
You must be signed in to change notification settings - Fork 0
/
traildb.cabal
85 lines (78 loc) · 2.98 KB
/
traildb.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
name: traildb
version: 0.1.4.1
synopsis: TrailDB bindings for Haskell
description: Check out README.md for information on these bindings.
.
TrailDB project home page is at traildb.io
license-file: LICENSE
license: MIT
author: Mikko Juola
maintainer: [email protected]
copyright: AdRoll Inc (c) 2016-2017
category: Database
build-type: Simple
cabal-version: >=1.10
stability: beta
extra-source-files: README.md
examples/tutorial_simple_traildb.hs
stack.yaml
source-repository head
type: git
location: https://github.com/traildb/traildb-haskell
flag use-ioref
default: False
description: Use `IORef` instead of `MVar` as
the container for `Tdb`. Can improve performance (very
slightly) but you lose thread safety.
flag build-wikipedia-benchmark
default: False
description: Build the wikipedia scanning executable from
https://github.com/joeyrobert/traildb-benchmark
This program requires you to download the wikipedia TrailDB
manually; check out the linked git repository for where to get it.
library
exposed-modules: System.TrailDB
System.TrailDB.Error
System.TrailDB.Internal
build-depends: base >=4.6 && <5.0
,bytestring
,containers >=0.4 && <1.0
,directory
,exceptions
,primitive
,profunctors
,text
,time
,transformers
,unix
,vector
extra-libraries: traildb, Judy
ghc-options: -Wall -fno-warn-name-shadowing -O2
c-sources: cbits/shim.c
default-language: Haskell2010
if flag(use-ioref)
cpp-options: -DUSE_IOREF
executable traildb-wikipedia-benchmark
main-is: Main.hs
if !flag(build-wikipedia-benchmark)
buildable: False
hs-source-dirs: wikipedia-benchmark
build-depends: base >=4.6 && <5.0
,traildb
,vector
ghc-options: -Wall -fno-warn-name-shadowing -O2
default-language: Haskell2010
benchmark bench-traildb
type: exitcode-stdio-1.0
main-is: Main.hs
build-depends: base >=4.6 && <5.0
,bytestring
,cereal
,criterion
,deepseq
,directory
,random
,traildb
ghc-options: -Wall -fno-warn-name-shadowing -O2
hs-source-dirs: bench-traildb
default-language: Haskell2010