git.iko.soy/typeable/bytestring-conversion
on master help sign in
typeable/bytestring-conversion/bytestring-conversion.cabal
80 lines 2.5 kB history raw
1name: bytestring-conversion
2version: 0.3.2
3synopsis: Type-classes to convert values to and from ByteString.
4license: MPL-2.0
5license-file: LICENSE
6author: Toralf Wittner
7maintainer: Toralf Wittner <tw@dtex.org>
8copyright: (C) 2014-2015 Toralf Wittner
9homepage: https://gitlab.com/twittner/bytestring-conversion
10bug-reports: https://gitlab.com/twittner/bytestring-conversion/issues
11category: Data
12build-type: Simple
13cabal-version: >= 1.10
14extra-source-files: README.md, CHANGELOG.txt
16description:
17 Defines the type-classes 'ToByteString' and 'FromByteString'
18 to convert values to and from textual 'ByteString' encodings.
20source-repository head
21 type: git
22 location: git@gitlab.com:twittner/bytestring-conversion.git
24library
25 default-language: Haskell2010
26 hs-source-dirs: src
27 ghc-options: -Wall -O2 -fwarn-tabs
29 exposed-modules:
30 Data.ByteString.Conversion
31 Data.ByteString.Conversion.To
32 Data.ByteString.Conversion.From
34 other-modules:
35 Data.ByteString.Conversion.Internal
37 build-depends:
38 base >= 4.5 && < 5.0
39 , attoparsec >= 0.10 && < 1.0
40 , bytestring >= 0.10.2 && < 1.0
41 , case-insensitive >= 1.2 && < 2.0
42 , text >= 0.11 && < 3.0
44 if os(windows)
45 cpp-options: -DWINDOWS
46 build-depends: blaze-textual >= 0.2 && < 0.3
47 else
48 build-depends: double-conversion >= 2.0 && < 3.0
50test-suite bytestring-conversion-tests
51 type: exitcode-stdio-1.0
52 default-language: Haskell2010
53 hs-source-dirs: test
54 main-is: Tests.hs
55 ghc-options: -Wall -O2 -fwarn-tabs
57 other-modules:
58 Properties
60 build-depends:
61 base
62 , bytestring
63 , bytestring-conversion
64 , QuickCheck >= 2.6
65 , tasty >= 0.8
66 , tasty-quickcheck >= 0.8
68benchmark bytestring-conversion-bench
69 type: exitcode-stdio-1.0
70 default-language: Haskell2010
71 main-is: Bench.hs
72 hs-source-dirs: bench
73 ghc-options: -Wall -O2 -fwarn-tabs -with-rtsopts=-T
74 build-depends:
75 base
76 , bytestring
77 , bytestring-conversion
78 , criterion >= 1.0.0.2 && < 2.0
79 , text
80 , transformers