Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 98 lines (82 sloc) 2.358 kb
3831ef5 @bos Initial commit. Basically a straight drop of aeson code.
authored
1 name: blaze-textual
c11f725 @bos Bump version to 0.2.0.6
authored
2 version: 0.2.0.6
3831ef5 @bos Initial commit. Basically a straight drop of aeson code.
authored
3 license: BSD3
4 license-file: LICENSE
5 category: Text
6 copyright: Copyright 2011 MailRank, Inc.
057da9c @bos Update mailrank addresses to serpentine
authored
7 author: Bryan O'Sullivan <bos@serpentine.com>
8 maintainer: Bryan O'Sullivan <bos@serpentine.com>
3831ef5 @bos Initial commit. Basically a straight drop of aeson code.
authored
9 stability: experimental
10 synopsis: Fast rendering of common datatypes
11 cabal-version: >= 1.8
057da9c @bos Update mailrank addresses to serpentine
authored
12 homepage: http://github.com/bos/blaze-textual
13 bug-reports: http://github.com/bos/blaze-textual/issues
3831ef5 @bos Initial commit. Basically a straight drop of aeson code.
authored
14 build-type: Simple
15 description:
16 A library for efficiently rendering Haskell datatypes to
17 bytestrings.
c4a3a40 @bos Update the README with pointers to the double-conversion workaround.
authored
18 .
19 /Note/: if you use GHCi or Template Haskell, please see the
20 @README@ file for important details about building this package,
21 and other packages that depend on it:
057da9c @bos Update mailrank addresses to serpentine
authored
22 <https://github.com/bos/blaze-textual#readme>
3831ef5 @bos Initial commit. Basically a straight drop of aeson code.
authored
23
24 extra-source-files:
25 README.markdown
c4a3a40 @bos Update the README with pointers to the double-conversion workaround.
authored
26 tests/*.hs
3831ef5 @bos Initial commit. Basically a straight drop of aeson code.
authored
27
28 flag developer
29 description: operate in developer mode
30 default: False
31
9d770bd @bos Add a "-fnative" option to build with native double conversion code.
authored
32 flag native
33 description: use slow native code for double conversion
1ac9520 @snoyberg Make native flag the default.
snoyberg authored
34 default: True
9d770bd @bos Add a "-fnative" option to build with native double conversion code.
authored
35
3831ef5 @bos Initial commit. Basically a straight drop of aeson code.
authored
36 library
37 exposed-modules:
38 Blaze.Text
39 Blaze.Text.Double
40 Blaze.Text.Int
41
9d770bd @bos Add a "-fnative" option to build with native double conversion code.
authored
42 if flag(native)
43 other-modules: Blaze.Text.Double.Native
44
3831ef5 @bos Initial commit. Basically a straight drop of aeson code.
authored
45 build-depends:
46 base == 4.*,
47 blaze-builder >= 0.2.1.4,
48 bytestring,
49 ghc-prim,
50 old-locale,
51 text >= 0.11.0.2,
52 time,
53 vector
54
9d770bd @bos Add a "-fnative" option to build with native double conversion code.
authored
55 if !flag(native)
56 build-depends:
57 double-conversion >= 0.2.0.1
58
3831ef5 @bos Initial commit. Basically a straight drop of aeson code.
authored
59 if flag(developer)
60 ghc-options: -Werror
61 ghc-prof-options: -auto-all
62
9d770bd @bos Add a "-fnative" option to build with native double conversion code.
authored
63 if flag(native)
64 cpp-options: -DNATIVE
65
3831ef5 @bos Initial commit. Basically a straight drop of aeson code.
authored
66 ghc-options: -Wall
67
68 if impl(ghc >= 6.11)
69 cpp-options: -DINTEGER_GMP
1364133 @tibbe Widen dependency on integer-gmp
tibbe authored
70 build-depends: integer-gmp >= 0.2 && < 0.5
3831ef5 @bos Initial commit. Basically a straight drop of aeson code.
authored
71
72 if impl(ghc >= 6.9) && impl(ghc < 6.11)
73 cpp-options: -DINTEGER_GMP
74 build-depends: integer >= 0.1 && < 0.2
75
8f9d1c4 @bos Add QuickCheck properties.
authored
76 test-suite tests
77 type: exitcode-stdio-1.0
78 hs-source-dirs: tests
79 main-is: QC.hs
80 ghc-options: -Wall -threaded -rtsopts
81 build-depends:
82 QuickCheck >= 2.4.0.1,
83 base,
84 blaze-builder,
85 blaze-textual,
86 bytestring,
87 double-conversion,
88 test-framework >= 0.3.3 && < 0.5,
89 test-framework-quickcheck2 >= 0.2.9 && < 0.3
90
3831ef5 @bos Initial commit. Basically a straight drop of aeson code.
authored
91 source-repository head
92 type: git
057da9c @bos Update mailrank addresses to serpentine
authored
93 location: http://github.com/bos/blaze-textual
3831ef5 @bos Initial commit. Basically a straight drop of aeson code.
authored
94
95 source-repository head
96 type: mercurial
97 location: http://bitbucket.org/bos/blaze-textual
Something went wrong with that request. Please try again.