-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathblaze-textual.cabal
103 lines (87 loc) · 2.38 KB
/
blaze-textual.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
96
97
98
99
100
101
102
103
name: blaze-textual
version: 0.2.3.1
license: BSD3
license-file: LICENSE
category: Text
copyright: Copyright 2011 MailRank, Inc.
author: Bryan O'Sullivan <[email protected]>
maintainer: Andrey Prokopenko <[email protected]>
stability: experimental
synopsis: Fast rendering of common datatypes
cabal-version: 1.12
homepage: http://github.com/swamp-agr/blaze-textual
bug-reports: http://github.com/swamp-agr/blaze-textual/issues
build-type: Simple
description:
A library for efficiently rendering Haskell datatypes to
bytestrings.
.
/Note/: if you use GHCi or Template Haskell, please see the
@README@ file for important details about building this package,
and other packages that depend on it:
<https://github.com/swamp-agr/blaze-textual#readme>
extra-source-files:
README.markdown
changelog.md
tests/*.hs
flag developer
description: operate in developer mode
default: False
manual: True
flag native
description: use slow native code for double conversion
default: True
manual: True
flag integer-simple
description: use integer-simple instead of integer-gmp
default: False
manual: True
library
exposed-modules:
Blaze.Text
Blaze.Text.Double
Blaze.Text.Int
if flag(native)
other-modules: Blaze.Text.Double.Native
build-depends:
base == 4.*,
blaze-builder >= 0.2.1.4,
bytestring,
ghc-prim,
old-locale,
text >= 0.11.0.2,
vector
if !flag(native)
build-depends:
double-conversion >= 0.2.0.1
if flag(developer)
ghc-options: -Werror
ghc-prof-options: -auto-all
if flag(native)
cpp-options: -DNATIVE
ghc-options: -Wall
if flag(integer-simple)
cpp-options: -DINTEGER_SIMPLE
build-depends: integer-simple
else
cpp-options: -DINTEGER_GMP
build-depends: integer-gmp >= 0.2
default-language: Haskell2010
test-suite tests
type: exitcode-stdio-1.0
hs-source-dirs: tests
main-is: QC.hs
ghc-options: -Wall -threaded -rtsopts
build-depends:
QuickCheck >= 2.4.0.1,
base,
blaze-builder,
blaze-textual,
bytestring,
double-conversion,
test-framework >= 0.3.3,
test-framework-quickcheck2 >= 0.2.9
default-language: Haskell2010
source-repository head
type: git
location: http://github.com/swamp-agr/blaze-textual