File: binary-tagged.cabal

package info (click to toggle)
haskell-binary-tagged 0.1.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 116 kB
  • sloc: haskell: 591; makefile: 5
file content (141 lines) | stat: -rw-r--r-- 3,173 bytes parent folder | download
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
cabal-version:  >= 1.10
name:           binary-tagged
version:        0.1.5.2

synopsis:       Tagged binary serialisation.
category:       Data
description:    Check <https://github.com/phadej/binary-tagged#readme README on Github>

homepage:       https://github.com/phadej/binary-tagged#readme
bug-reports:    https://github.com/phadej/binary-tagged/issues
author:         Oleg Grenrus <oleg.grenrus@iki.fi>
maintainer:     Oleg Grenrus <oleg.grenrus@iki.fi>
license:        BSD3
license-file:   LICENSE
build-type:     Simple

tested-with:
  GHC ==7.8.4
   || ==7.10.3
   || ==8.0.2
   || ==8.2.2
   || ==8.4.4
   || ==8.6.5

extra-source-files:
    CHANGELOG.md
    README.md

source-repository head
  type: git
  location: https://github.com/phadej/binary-tagged

library
  hs-source-dirs:
      src
  ghc-options: -Wall

  -- Libraries bundled with GHC
  build-depends:
      base                     >=4.7.0.2  && <4.13
    , array                    >=0.5.0.0  && <0.6
    , binary                   >=0.7.1.0  && <0.10
    , bytestring               >=0.10.4.0 && <0.11
    , containers               >=0.5.5.1  && <0.7
    , text                     >=1.2.3.0  && <1.3
    , time                     >=1.4.2    && <1.9

  -- other dependencies
  build-depends:
      aeson                    >=0.8     && <1.5
    , base16-bytestring        >=0.1.1.6 && <0.2
    , generics-sop             >=0.3.2.0 && <0.6
    , hashable                 >=1.2     && <1.4
    , scientific               >=0.3     && <0.4
    , SHA                      >=1.6     && <1.7
    , tagged                   >=0.7     && <0.9
    , unordered-containers     >=0.2     && <0.3
    , vector                   >=0.10    && <0.13

  exposed-modules:
      Data.Binary.Tagged
  default-language: Haskell2010

  if !impl(ghc >= 8.0)
    build-depends:
      semigroups >=0.18.5 && <0.20
  if !impl(ghc >= 7.10)
    build-depends:
      nats      >=1.1.2   && <1.2

test-suite binary-tagged-test
  type: exitcode-stdio-1.0
  main-is: Tests.hs
  hs-source-dirs:
      test
  ghc-options: -Wall
  build-depends:
      base
    , aeson
    , array
    , base16-bytestring
    , binary
    , bytestring
    , containers
    , generics-sop
    , hashable
    , scientific
    , SHA
    , tagged
    , text
    , time
    , unordered-containers
    , vector
    , binary-tagged
    , binary-orphans
    , bifunctors
    , quickcheck-instances
    , tasty
    , tasty-quickcheck
  if !impl(ghc >= 8.0)
    build-depends:
      semigroups
  if !impl(ghc >= 7.10)
    build-depends:
      nats
  other-modules:
      Generators
      Rec1
      Rec2
  default-language: Haskell2010

benchmark binary-tagged-bench
  type: exitcode-stdio-1.0
  main-is: Bench.hs
  hs-source-dirs:
      bench
  ghc-options: -Wall
  build-depends:
      base
    , aeson
    , array
    , base16-bytestring
    , binary
    , bytestring
    , containers
    , generics-sop
    , hashable
    , nats
    , scientific
    , SHA
    , semigroups
    , tagged
    , text
    , time
    , unordered-containers
    , vector
    , binary-tagged
    , binary-orphans
    , deepseq
    , criterion
  default-language: Haskell2010